C# Class SteamDroidServer.SteamDroidServer

SteamDroidServer handles incomming connections
Exibir arquivo Open project: FlyingPie/SteamDroid Class Usage Examples

Public Methods

Method Description
RemoveConnection ( ClientConnection connection ) : void

Removes a connection from the clients list

Start ( String ip, int port ) : void

Starts the server listening on the specified ip and port

SteamDroidServer ( ) : System

Private Methods

Method Description
listener_ConnectionOpened ( object sender, ConnectionEventArgs eArgs ) : void

Handles new connections

Method Details

RemoveConnection() public method

Removes a connection from the clients list
public RemoveConnection ( ClientConnection connection ) : void
connection SteamDroidServer.Client.ClientConnection The connection to remove
return void

Start() public method

Starts the server listening on the specified ip and port
public Start ( String ip, int port ) : void
ip String The ip to listen on
port int The port to listen on
return void

SteamDroidServer() public method

public SteamDroidServer ( ) : System
return System