[bf1942] Using sqlite with BF2 in Windows

"Einar S. Idsø" esi at itk.ntnu.no
Thu Apr 27 05:47:25 EDT 2006


Just a quick update:

I have decided to use a protocol/transport mechanism which allows
bidirectional communication with minimal overhead. This rules out
XML-RPC. The advantages of TCP that Andreas and Steven laid out made me
choose TCP over UDP, even though UDP has a bit lower overhead.

Communication is done via XML-strings over this TCP connection. The game
server connects to the servermanager, not the other way around like I
originally intended. But the servermanager can of course write to the
transport at any time, and the game will respond to requests just as if
it were running a server. The game has a timer which triggers every few
seconds and attempts to read and write any available data.

I have made extended usage of the non-blocking outputbuffer that Andreas
wrote for BF2 rcon - thank you, Andreas!

Cheers,
Einar




More information about the Bf1942 mailing list