C# Class KBEngine.PacketReceiver

Show file Open project: liuxq/TestGame Class Usage Examples

Public Methods

Method Description
PacketReceiver ( NetworkInterface networkInterface ) : System
networkInterface ( ) : NetworkInterface
process ( ) : void
startRecv ( ) : void

Private Methods

Method Description
_asyncReceive ( ) : void
_free ( ) : int
_init ( NetworkInterface networkInterface ) : void
_onRecv ( IAsyncResult ar ) : void

Method Details

PacketReceiver() public method

public PacketReceiver ( NetworkInterface networkInterface ) : System
networkInterface NetworkInterface
return System

networkInterface() public method

public networkInterface ( ) : NetworkInterface
return NetworkInterface

process() public method

public process ( ) : void
return void

startRecv() public method

public startRecv ( ) : void
return void