Sorry for the delay, I was a bit busy yesterday evening.

http://svgames.pl/trash/netscores.zip
I hope everything's commented clearly enough. As for the FP side, the game was made using SDL, so I went with SDL_net.