<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I use enet to send many data like
this</FONT></DIV>
<DIV><FONT size=2>while(1)</FONT></DIV>
<DIV><FONT size=2>{</FONT></DIV>
<DIV><FONT size=2> packet = enet_packet_create ("packet",
<BR>
strlen ("packet") + 1,
<BR>
ENET_PACKET_FLAG_RELIABLE);</FONT></DIV><FONT size=2>
<DIV><BR> enet_peer_send (peer, 0, packet);</DIV>
<DIV> </DIV>
<DIV> ......</DIV>
<DIV> poll();</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>}</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Because enet_peer_send is non-blocking,if i send continuously
,</FONT></DIV>
<DIV><FONT size=2>the send buffer will full.How can konw this and slow down send
rate?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Any message is welcome!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>