<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 style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;">> <font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"><span><span class="929334303-14122007"><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">udp itself 
is not connection oriented. Therefore no accept is used.<br><br>Right.  </font></span></span></font><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"><span><span class="929334303-14122007"><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">Thanks.</font></span></span></font><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"><span><span class="929334303-14122007"><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">  Now I remember that about UDP.  (Told you I was missing something</font></span></span></font><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"><span><span class="929334303-14122007"><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">.)<br><br>I fixed my test program too, I believe.  My client was exiting after the successful connection event.  Because the test was
 "over".  This was causing the server to not report the connection event at all.  ENet probably should have reported a successful connection event followed by a disconnection event, but that's a minor complaint.<br><br>When I finish cleaning up my client and server test programs, can I submit them for inclusion in ENet as sample code?  To help people get up and running with less confusion.<br><br>--Shawn<br><br></font></span></span></font><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Marc Rochel <marc.rochel@udicom.de><br>To: Discussion of the ENet library <enet-discuss@cubik.org><br>Sent: Thursday, December 13, 2007 9:45:37 PM<br>Subject: Re: [ENet-discuss] ENet doesn't do servers?<br><br>
 
<style type="text/css">DIV {
MARGIN:0px;}
</style>
<font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">
<div><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">Shawn,</font></div>
<div><span></span><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"> </font></div>
<div><span><span class="929334303-14122007"><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">enet builds on top of udp. udp itself 
is not connection oriented. Therefore no accept is used. The logical connections 
are managed by enet itself.</font></span></span></div>
<div><span><span class="929334303-14122007"></span></span><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"> </font></div>
<div><span><span class="929334303-14122007"><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">If you use tcp, you need to call 
accept at some point.</font></span></span></div>
<div><span></span><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"> </font></div>
<div><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';">Marc<br></font></font></div></font></div><font style="font-size: 10pt; color: rgb(0, 0, 128); font-family: 'Arial';"><br></font></div></div><br>
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a></body></html>