C# Class NLog.TcpClientSocket

Inheritance: AbstractTcpSocket
ファイルを表示 Open project: sschmid/NLog Class Usage Examples

Public Methods

Method Description
Connect ( IPAddress ip, int port ) : void
Disconnect ( ) : void
Send ( byte bytes ) : void
TcpClientSocket ( ) : System
onConnected ( IAsyncResult ar ) : void
onDisconnected ( IAsyncResult ar ) : void

Protected Methods

Method Description
disconnectedByRemote ( Socket socket ) : void

Method Details

Connect() public method

public Connect ( IPAddress ip, int port ) : void
ip System.Net.IPAddress
port int
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Send() public method

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

TcpClientSocket() public method

public TcpClientSocket ( ) : System
return System

disconnectedByRemote() protected method

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

onConnected() public method

public onConnected ( IAsyncResult ar ) : void
ar IAsyncResult
return void

onDisconnected() public method

public onDisconnected ( IAsyncResult ar ) : void
ar IAsyncResult
return void