C# Class AutoCSer.Net.TcpInternalServer.ClientSocket

TCP 内部服务客户端套接字
Inheritance: TcpServer.ClientSocket
Show file Open project: AutoCSer/AutoCSer Class Usage Examples

Protected Methods

Method Description
close ( ) : void

释放接收数据缓冲区与异步事件对象

Private Methods

Method Description
CancelKeep ( int commandIndex ) : void

通知服务端取消保持回调

ClientSocket ( ClientSocket socket ) : System

TCP 调用客户端套接字

ClientSocket ( TcpServer.ClientSocketCreator clientCreator, IPAddress ipAddress, int port, int createVersion ) : System

TCP 调用客户端套接字

Create ( ) : void

创建 TCP 服务客户端套接字

CreateNew ( ) : void

创建 TCP 服务客户端套接字

onReceive ( IAsyncResult async ) : void

数据接收完成后的回调委托

onReceive ( object sender, SocketAsyncEventArgs async ) : void

数据接收完成后的回调委托

Method Details

close() protected method

释放接收数据缓冲区与异步事件对象
protected close ( ) : void
return void