C# Class Cakewalk.TCPDispatcher

TCP Listener to accept people to the world
ファイルを表示 Open project: Cakez0r/Cakewalk Class Usage Examples

Public Methods

Method Description
Start ( ) : void

Start listening for connections

Stop ( ) : void

Stop listening for connections

TCPDispatcher ( IPAddress bindAddress, ushort port ) : System

Create a tcp listener bound to the specified address and port

Private Methods

Method Description
AcceptSocket ( IAsyncResult result ) : void

Handle a socket accept

BeginAcceptingSockets ( ) : void

Start an async socket accept

Method Details

Start() public method

Start listening for connections
public Start ( ) : void
return void

Stop() public method

Stop listening for connections
public Stop ( ) : void
return void

TCPDispatcher() public method

Create a tcp listener bound to the specified address and port
public TCPDispatcher ( IPAddress bindAddress, ushort port ) : System
bindAddress System.Net.IPAddress
port ushort
return System