Calculating packet size

BlitzMax Forums/BlitzMax Beginners Area/Calculating packet size

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I need to calculate the packet size of a tcp/ip packet and send this size as the first int to the server.
You can't. You can only calculate the size of your data. The packet size will vary as you packet traverses the Internet.

What do you need it for?