Network - Where does the data come from?

BlitzMax Forums/BlitzMax Programming/Network - Where does the data come from?

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.

It's probably me but I just can't solve this strange problem that I got when trying to write a network lib. (I use BNet by Vertex)

I send 18bytes but the client receives over 130kbytes. I mean how can that happen?

It happens when the Client reads 1 byte, his ID. Then he reads the rest of the stream into a string (which in short is the host's name$ and info$) but somehow this string gets way huge! (131071 bytes)- which I check with
Len(StringReceived$). The Sent STring was a couple of bytes only!
Anyway this means the client stalls each time he joins. Anyone got any ideas about what it could be?

I'll keep debugging whishing for the best.