bubbros-server(6) | Games Manual | bubbros-server(6) |
bubbros-server - the bub-n-bros server.
bubbros-server [ level-file.bin ] [options]
bubbros-server starts an http server that acts as a control panel for the server. The server listens on port 8000 by default. The url for the control panel is http://server:port/0xN where 0xN is a random hex number (acts as minimal protection). This url is printed when the server starts. You can start and view games and kill the server from this panel. The control panel also allows you to type in the address of a server to connect to, the script will then open a client to that server. The http server also servers java applet clients for those players who wish to use one.
When a game is started the script opens a port for the game server. This port can then be connected to by a client. Clients autodetect servers running on the local network with UDP ping on port 8056.
The client forms a tcp connection to the server. Or, when using the metaserver, the server forms a connection to the client. If this fails, the client and server try a simultaneous SYN connect. This sometimes works if the server and client are behind firewalls. The server then tries to transmit the data over udp. If it gets no response from the client it will fall back to the existing tcp connection.
The server outputs helpful debug information concerning the http and game servers.
December 7, 2007 |