C# Class Cakewalk.TCPDispatcher

TCP Listener to accept people to the world
Afficher le fichier Open project: Cakez0r/Cakewalk Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AcceptSocket ( IAsyncResult result ) : void

Handle a socket accept

BeginAcceptingSockets ( ) : void

Start an async socket accept

Method Details

Start() public méthode

Start listening for connections
public Start ( ) : void
Résultat void

Stop() public méthode

Stop listening for connections
public Stop ( ) : void
Résultat void

TCPDispatcher() public méthode

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