I'm trying to query a gameserver. To do this i need to send 10 bytes per UDP which is simple enough. The problem is the querystring itself:
I have no problem with 9 of these bytes, i can simply send them as plain text. But i cannot find a way to send the 0x00 byte.
Is there any way to make this happen? I can't find a workaround...
[Edit]Okay, i solved the problem by storing the query in a file.
bread arma.bin 0 10 &query
sockudp -k arma $arma.port $arma.ip $arma.port &query