ProxySocketConnect(String, Int32) Method
|
Establishes a connection to a remote device.
Namespace: mtapi.mt5Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax public void Connect(
string host,
int port
)
Public Sub Connect (
host As String,
port As Integer
)
public:
void Connect(
String^ host,
int port
)
member Connect :
host : string *
port : int -> unit
Parameters
- host String
- The remote host to connect to.
- port Int32
- The remote port to connect to.
Exceptions Remarks If you use this method with a SOCKS4 server, it will let the server resolve the hostname. Not all SOCKS4 servers support this 'remote DNS' though.
See Also