Hello everyone. I'm making a plugin similar to ACRE but for a different game, a mod for Red Orchestra (which runs on the unreal 2004) engine. I've made quite a lot of progress, but at the moment I have the game communicating with Teamspeak via the ClientQuery plugin. It sets the client_meta_data to the player's coordinates, and then my plugin checks it every x seconds.

It would make a lot more sense for my plugin to have its own TCP server, and when it receives an update it would set the player's position automatically, rather than having to constantly check for updates. But for this I'd need the code for a TCP server.

Is there any chance I could see how this is done in the ClientQuery plugin source code?