C# Class SteamDroidServer.Networking.Listener

Listener provides functionality for hosting a server at a specific port and accepting connections from it
Show file Open project: FlyingPie/SteamDroid Class Usage Examples

Public Methods

Method Description
Listener ( ) : System
Start ( String ip, int port ) : void

Start listening at the specified port

Private Methods

Method Description
ListenThread ( ) : void

ListenThread method, runs in a seperate thread and listens for new connections

Method Details

Listener() public method

public Listener ( ) : System
return System

Start() public method

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