[ENet-discuss] How to determine send rate?
xuxingjian
xuxingjian at jyd.com.cn
Thu Jun 15 22:15:21 PDT 2006
I use enet to send many data like this
while(1)
{
packet = enet_packet_create ("packet",
strlen ("packet") + 1,
ENET_PACKET_FLAG_RELIABLE);
enet_peer_send (peer, 0, packet);
......
poll();
}
Because enet_peer_send is non-blocking,if i send continuously ,
the send buffer will full.How can konw this and slow down send rate?
Any message is welcome!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cubik.org/pipermail/enet-discuss/attachments/20060616/666d9816/attachment.htm
More information about the ENet-discuss
mailing list