Hi,
it's me again ;)
I need to calculate the packet size of a tcp/ip packet and send this size as the first int to the server.
I thought about creating a 'dummy-stream', writing all the packets into it and try to read the stream size in bytes. But I think there's a better way and my tries to read the size weren't very successful.
Thanks for help.
it's me again ;)
I need to calculate the packet size of a tcp/ip packet and send this size as the first int to the server.
I thought about creating a 'dummy-stream', writing all the packets into it and try to read the stream size in bytes. But I think there's a better way and my tries to read the size weren't very successful.
Thanks for help.