Initializes a new instance of the ProxySocket class.
[Visual Basic]Overloads Public Sub New( _
ByVal addressFamily As System.Net.Sockets.AddressFamily, _
ByVal socketType As System.Net.Sockets.SocketType, _
ByVal protocolType As System.Net.Sockets.ProtocolType _
)
[C#]
public ProxySocket(
AddressFamily addressFamily,
SocketType socketType,
ProtocolType protocolType
);
Parameters
- addressFamily
- One of the AddressFamily values.
- socketType
- One of the SocketType values.
- protocolType
- One of the ProtocolType values.
Exceptions
Exception Type | Condition |
---|---|
System.Net.Sockets.SocketException | The combination of addressFamily, socketType, and protocolType results in an invalid socket. |
See Also
ProxySocket Class | ProxySocket Members | Org.Mentalis.Network.ProxySocket Namespace | ProxySocket Constructor Overload List