Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
Recv ( ) : Task |
||
Send ( List |
||
Send ( byte buffer, byte channelID, PacketFlags flags = PacketFlags.Reliable ) : void | ||
TChannel ( |
accept
|
|
TChannel ( |
connect
|
Метод | Описание | |
---|---|---|
OnAccepted ( ) : void | ||
OnConnected ( long channelId, SocketError error ) : void | ||
OnRecv ( int n, SocketError error ) : void | ||
OnSend ( int n, SocketError error ) : void | ||
StartRecv ( ) : void | ||
StartSend ( ) : void |
public Send ( List |
||
buffers | List |
|
channelID | byte | |
flags | PacketFlags | |
Результат | void |
public Send ( byte buffer, byte channelID, PacketFlags flags = PacketFlags.Reliable ) : void | ||
buffer | byte | |
channelID | byte | |
flags | PacketFlags | |
Результат | void |
public TChannel ( |
||
socket | ||
service | ||
Результат | System |
public TChannel ( |
||
socket | ||
host | string | |
port | int | |
service | ||
Результат | System |