Method | Description | |
---|---|---|
Connect ( this socket, |
Connects the specified socket.
|
|
Connect ( this socket, |
||
Connect ( this socket, string host, int port, System.TimeSpan timeout ) : bool |
Connects the specified socket.
|
|
ParseEndPoint ( string str ) : |
||
ReadByteAsync ( this stream ) : Task |
||
TryParseEndPoint ( string str, |
||
WriteByteAsync ( this stream, byte value ) : System.Threading.Tasks.Task |
Method | Description | |
---|---|---|
AsyncConnect ( Socket socket, Func |
Asyncs the connect.
|
public static Connect ( this socket, |
||
socket | this | The socket. |
addresses | The addresses. | |
port | int | The port. |
timeout | System.TimeSpan | The timeout. |
return | bool |
public static Connect ( this socket, |
||
socket | this | |
endPoint | ||
timeout | System.TimeSpan | |
return | bool |
public static Connect ( this socket, string host, int port, System.TimeSpan timeout ) : bool | ||
socket | this | The socket. |
host | string | The host. |
port | int | The port. |
timeout | System.TimeSpan | The timeout. |
return | bool |
public static ParseEndPoint ( string str ) : |
||
str | string | |
return |
public static ReadByteAsync ( this stream ) : Task |
||
stream | this | |
return | Task |
public static TryParseEndPoint ( string str, |
||
str | string | |
value | ||
return | bool |
public static WriteByteAsync ( this stream, byte value ) : System.Threading.Tasks.Task | ||
stream | this | |
value | byte | |
return | System.Threading.Tasks.Task |