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.
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.