ProxySocket(AddressFamily, SocketType, ProtocolType) Constructor
|
Initializes a new instance of the ProxySocket class.
Namespace: mtapi.mt5Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax public ProxySocket(
AddressFamily addressFamily,
SocketType socketType,
ProtocolType protocolType
)
Public Sub New (
addressFamily As AddressFamily,
socketType As SocketType,
protocolType As ProtocolType
)
public:
ProxySocket(
AddressFamily addressFamily,
SocketType socketType,
ProtocolType protocolType
)
new :
addressFamily : AddressFamily *
socketType : SocketType *
protocolType : ProtocolType -> ProxySocket
Parameters
- addressFamily AddressFamily
- One of the AddressFamily values.
- socketType SocketType
- One of the SocketType values.
- protocolType ProtocolType
- One of the ProtocolType values.
Exceptions Exception | Condition |
---|
SocketException | The combination of addressFamily, socketType, and protocolType results in an invalid socket. |
See Also