flackr / lobby

A multiplayer game lobby and JS library for discovering game servers and making connections.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check whether server address is connectable from lobby-server

flackr opened this issue · comments

The lobby server should check whether the server is connectable at the specified port and inform that server either way. The server can then dispatch an event which may prompt the user with some UI regarding how to forward ports if the game provider desires.

Needs some clarification; do we want the lobby server to ping the game host servers to check if they are connectable? And if they are not connectable, do we want the lobby UI to show the list of games annotated with connectivity (i.e. WORKING, NOTWORKING)?

Correct, we want the lobby to attempt to make a TCP connection to the game host server. After completing this (success or failure) it should set a property on the game details to indicate whether it was successful and let the game server know over the connected websocket so a pretty message can be displayed on the cilent.