C# Class CSPspEmu.Debugger.TcpServer

ファイルを表示 Open project: soywiz/cspspemu

Public Methods

Method Description
TcpServer ( string ip, short port ) : System
listen ( int backlog = 16 ) : void

Protected Methods

Method Description
handleConnect ( Socket socket ) : void
handleData ( Socket socket, byte data ) : void
handleDisconnect ( Socket socket ) : void

Method Details

TcpServer() public method

public TcpServer ( string ip, short port ) : System
ip string
port short
return System

handleConnect() protected method

protected handleConnect ( Socket socket ) : void
socket System.Net.Sockets.Socket
return void

handleData() protected method

protected handleData ( Socket socket, byte data ) : void
socket System.Net.Sockets.Socket
data byte
return void

handleDisconnect() protected method

protected handleDisconnect ( Socket socket ) : void
socket System.Net.Sockets.Socket
return void

listen() public method

public listen ( int backlog = 16 ) : void
backlog int
return void