[ENet-discuss] Stops sending after 4096bytes
Brian
bdm4980 at gmail.com
Tue Dec 28 09:15:39 PST 2004
Hi,
I'm trying to implement enet in an application, but I can only send
4096 bytes of data (4096 empty packets, 64 x 64 byte packets etc) and
then the server will eventually say the client disconnected (I assume
timed out). I have been through the tutorial on the cubik site a dozen
times and I can't find anything I'm missing. Because of the constant
size, I'm sure its a buffer issue, but I just can't figure out where
exactly the issue is.
Stepping through the client in the debugger, the enet_host_flush
function calls enet_protocol_send_outgoing_commands where host ->
commandCount is set to 0 and never assigned another value so it hits
the continue statement after checking if if (host -> commandCount ==
0).
Anyone know what could be the cause or speculate on things I might try
to solve the problem?
Thanks in advance!
Brian
More information about the ENet-discuss
mailing list