Initializes a new instance of the ProxySocket class.

Namespace: Jscape.Util.Proxy
Assembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.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

ExceptionCondition
System.Net.Sockets..::..SocketExceptionThe combination of addressFamily, socketType, and protocolType results in an invalid socket.

See Also