C# Class BF2Statistics.Gamespy.ServerListRetrieveSocket

This class emulates the master.gamespy.com TCP server on port 28910. This server is responisible for sending server lists to the online server browser in the BF2 multiplayer menu
Inheritance: BF2Statistics.Gamespy.Net.GamespyTcpSocket
Show file Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Methods

Method Description
ServerListRetrieveSocket ( ) : System
Shutdown ( ) : void

Shutsdown the underlying sockets

Protected Methods

Method Description
ProcessAccept ( GamespyTcpStream Stream ) : void

Accepts a TcpClient, and begin the serverlist fetching process for the client. This method is executed when the user updates his server browser ingame

Private Methods

Method Description
MasterClient_OnDisconnect ( MasterClient client ) : void

Callback for when a connection had disconnected

Method Details

ProcessAccept() protected method

Accepts a TcpClient, and begin the serverlist fetching process for the client. This method is executed when the user updates his server browser ingame
protected ProcessAccept ( GamespyTcpStream Stream ) : void
Stream BF2Statistics.Gamespy.Net.GamespyTcpStream
return void

ServerListRetrieveSocket() public method

public ServerListRetrieveSocket ( ) : System
return System

Shutdown() public method

Shutsdown the underlying sockets
public Shutdown ( ) : void
return void