C# Class NLog.TcpServerSocket

Inheritance: AbstractTcpSocket
Mostra file Open project: sschmid/NLog Class Usage Examples

Public Methods

Method Description
Disconnect ( ) : void
Listen ( int port ) : void
Send ( byte bytes ) : void
TcpServerSocket ( ) : System

Protected Methods

Method Description
disconnectedByRemote ( Socket socket ) : void

Private Methods

Method Description
accept ( ) : void
acceptedClientConnection ( Socket client ) : void
onAccepted ( IAsyncResult ar ) : void
onClientDisconnected ( IAsyncResult ar ) : void

Method Details

Disconnect() public method

public Disconnect ( ) : void
return void

Listen() public method

public Listen ( int port ) : void
port int
return void

Send() public method

public Send ( byte bytes ) : void
bytes byte
return void

TcpServerSocket() public method

public TcpServerSocket ( ) : System
return System

disconnectedByRemote() protected method

protected disconnectedByRemote ( Socket socket ) : void
socket Socket
return void