Hi!
Quick question, I need to send data to a server via an UDP connection. I'm using a protocol for counter strike 1.6 to communicate with the server.
For a certain request (retrieving server information) you have to send an info string. This string has to end with x00 but I can't send this x00 since it also terminates the string.
In brief: How to send a data string with an zero at the end? (ex: \xFF\x6A\xGS\x00)
EDIT: I got help on the IRC. For those interested in the solution just add 1 to the string length (Socket.send(string, strlen(string) + 1);