<div>Hello,</div>
<div>&nbsp;</div>
<div>That's funny, I could swear that the address and port data were intact in my disconnect events... oh well. Anyways, it's recommended that you use peer-&gt;data (void pointer) to identify and distinguish your peers. Just&nbsp;point to&nbsp;some custom structure with your application data.
</div>
<div>&nbsp;</div>
<div>Hope this helps,</div>
<div>- Paul<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/4/06, <b class="gmail_sendername">Intripoon</b> &lt;<a href="mailto:intripoon@gmx.de">intripoon@gmx.de</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi !<br><br>I just started to use Enet. While evaluating enet for my needs, I wondered<br>about this:<br>
<br><br>&quot;ENET_EVENT_TYPE_DISCONNECT&nbsp;&nbsp;&nbsp;&nbsp; a peer has disconnected.<br><br>This event is generated on a successful completion of a disconnect initiated<br>by enet_pper_disconnect, if a peer has timed out, or if a connection request
<br>intialized by enet_host_connect has timed out. The peer field contains the<br>peer which disconnected. &quot;<br><br><br>But if I get a ENET_EVENT_TYPE_DISCONNECT, event.peer-&gt;address.host and<br>event.peer-&gt;address.port
 are 0. How am I supposed to recognize the peer that<br>disconnected? Directly comparing the event.peer pointer instead?<br><br><br>Best regards<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Marc<br><br>_______________________________________________<br>ENet-discuss mailing list
<br><a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br><a href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br></blockquote></div><br>