• Welcome to PiBoSo Official Forum. Please login or sign up.
September 27, 2020, 01:26:37 AM

Live Timing

Started by PiBoSo, November 11, 2017, 04:19:59 PM

Previous topic - Next topic


It is possible to connect to a dedicated server to receive live race data.
Only 1 client can connect to the server.

Communication is made with UDP sockets and strings terminated with "\n".

Send "CONNECT" followed by the connection password ( empty string if no password ).
OK -> connected
FULL -> another client is already connected
WRONGPASSWORD -> wrong password

Send "START" to start receiving data.
Data format is "MSG" followed by the message ID and then a stream of strings.
Send "ACK" followed by the message ID after each MSG.

Send "KEEPALIVE" every 15 seconds to keep the connection active.
The server sends "ALIVE" to report that the connection is active.

Send "DISCONNECT" to correctly close the connection.
"Obviously your ambition outweighs your talent".

Italian Mod Team

Thanks, but where I write "connect.....ecc ecc"?? On Chrome, Iexplorer, Safari??
Please, type an example

Thank you, IMT