Method | Description | |
---|---|---|
ConnectToServer ( |
This code is used to connect to a TCP socket with timeout option.
|
public static ConnectToServer ( |
||
endPoint | IP endpoint of remote server | |
timeoutMs | int | Timeout to wait until connect |
return | Socket |