<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt"><div>I must be missing something, but as far as I can tell, enet doesn't work for servers?<br><br>Some grepping of the ENet code base shows that the accept() system call is never called<br>anywhere.&nbsp; (Unless the user calls enet_socket_accept() directly, which none of the<br>ENet instructions say is expected to ever happen.)<br><br>But the UNIX listen(2) man page says:<br><br>&nbsp;&nbsp;&nbsp; To accept connections, a socket is first created with socket(2),<br>&nbsp;&nbsp;&nbsp; a willingness to accept incoming connections and a queue limit<br>&nbsp;&nbsp;&nbsp; for incoming connections are specified with listen(), and then<br>&nbsp;&nbsp;&nbsp; the connections are accepted with accept(2).<br><br>ENet does call listen.&nbsp; Then it polls/selects on the socket waiting for activity, but<br>when
 activity appears, it doesn't seem to do the right thing for a server which would<br>be to do an accept() system call.<br><br>If I could find one example of a working server, using ENet, it would probably help me.<br><br>Some ENet developer please correct me if I'm wrong, or please confirm that I'm right<br>
and I'll help improve ENet to fix the problem.<br>
<br>
Regards,<br><br>Shawn Yarbrough<br><br></div></div><br>

      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>

</body></html>