Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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. |
Результат | bool |
public static Connect ( this socket, |
||
socket | this | |
endPoint | ||
timeout | System.TimeSpan | |
Результат | 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. |
Результат | bool |
public static ParseEndPoint ( string str ) : |
||
str | string | |
Результат |
public static ReadByteAsync ( this stream ) : Task |
||
stream | this | |
Результат | Task |
public static TryParseEndPoint ( string str, |
||
str | string | |
value | ||
Результат | bool |
public static WriteByteAsync ( this stream, byte value ) : System.Threading.Tasks.Task | ||
stream | this | |
value | byte | |
Результат | System.Threading.Tasks.Task |