Initializes a new instance of the ProxySocket class.
Namespace: Jscape.Util.ProxyAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public ProxySocket( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType ) |
Visual Basic |
---|
Public Sub New ( _ addressFamily As AddressFamily, _ socketType As SocketType, _ protocolType As ProtocolType _ ) |
Visual C++ |
---|
public: ProxySocket( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType ) |
Parameters
- addressFamily
- Type: System.Net.Sockets..::..AddressFamily
One of the AddressFamily values.
- socketType
- Type: System.Net.Sockets..::..SocketType
One of the SocketType values.
- protocolType
- Type: System.Net.Sockets..::..ProtocolType
One of the ProtocolType values.
Exceptions
Exception | Condition |
---|---|
System.Net.Sockets..::..SocketException | The combination of addressFamily, socketType, and protocolType results in an invalid socket. |