I can. In fact, that's what I'm doing. But I don't want to incur another send, hence the piggybacking question. <div><br></div><div><br></div><div>Another unrelated question is the following:</div><div><br></div>
<div>I have 2 servers, I want to establish only one connection between the two. Right now, I have to essentially make sure that only one initiate the connection. That implies that I have to have separate logic for the server that initiate the connection. But these are really the same servers, is there a simple way guarantee only establish one connection between the two when I allow each each server to attempt to connect to the other? <br>
<br><div class="gmail_quote">On Wed, Mar 31, 2010 at 10:00 AM, Jay Sprenkle <span dir="ltr"><<a href="mailto:jsprenkle@gmail.com">jsprenkle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Why don't you send a packet to identify the process that is connecting?<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Wed, Mar 31, 2010 at 10:00 AM, benchmark <span dir="ltr"><<a href="mailto:zslist@gmail.com" target="_blank">zslist@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">is there a way to piggyback some data (an 16bytes server id) on connect, so that the target knows who has connected? I want to pass the client's id to the server, in addition to its host/ip that's part of the peer info.
<br></blockquote></div><br clear="all"><br></div></div><font color="#888888">-- <br>---<br>I couldn't have said it better myself:<br>"Hitler and cloud computing"<br><a href="http://www.youtube.com/watch?v=VjfaCoA2sQk" target="_blank">http://www.youtube.com/watch?v=VjfaCoA2sQk</a><br>
<br>
</font><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" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br></div>