Click or drag to resize

ProxySocketConnect(EndPoint) Method

Establishes a connection to a remote device.

Namespace: mtapi.mt5
Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax
public void Connect(
	EndPoint remoteEP
)

Parameters

remoteEP  EndPoint
An EndPoint that represents the remote device.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe remoteEP parameter is a null reference (Nothing in Visual Basic).
SocketExceptionAn operating system error occurs while accessing the Socket.
ObjectDisposedExceptionThe Socket has been closed.
ProxyExceptionAn error occurred while talking to the proxy server.
See Also