Hi Christian,<br><br>Enet has more a peer to peer architecture,<br>so both should basically call <i>enet_host_service</i>,<br>the client side resides in the fact the &quot;client&quot; is calling connect.<br><br>So, what is your code like ?<br>

<br>Your &quot;client&quot; connects to your &quot;server&quot;,<br>then the client is sending one message and the server is receiving it twice ?<br><br>Send us some piece of code around the send of the client and the receive of the server and I&#39;ll look at it.<br>

<br>regards,<br>Ju<br><br><br><div class="gmail_quote">On Sun, Feb 21, 2010 at 4:49 AM, christian audebert <span dir="ltr">&lt;<a href="mailto:christian.audebert@wanadoo.fr">christian.audebert@wanadoo.fr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="FR">

<div>

<p class="MsoNormal"><span lang="EN-US">Hello, i was discovered ENet with great
pleasure, to replace my poor socket tcp/ip communication part.</span></p>

<p class="MsoNormal"><span lang="EN-US">I use the example send by Ruud van Gaal on <i>Thu
Jan 14 05:12:30 PST 2010  in </i></span><a href="http://lists.cubik.org/pipermail/enet-discuss/2010-January/001307.html" target="_blank"><span lang="EN-US">[ENet-discuss] help needed for a client/server example </span></a></p>



<p class="MsoNormal">As a start .</p>

<p class="MsoNormal"><span lang="EN-US">I included the two part in thread to avoid
blocking or waiting for the GUI and other functions.</span></p>

<p class="MsoNormal"><span lang="EN-US">All seem to work fine, but I have an echo
with messages received by the server.</span></p>

<p class="MsoNormal"><span lang="EN-US">The same message is received 2 time ..</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">I used the lib whithout modify anything,
and don’t know how to resolve this problem.</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span><span style="background: rgb(235, 239, 249) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" lang="EN-US">someone has already encountered this problem.?</span></span></p>



<p class="MsoNormal"><span><span style="background: rgb(235, 239, 249) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" lang="EN-US"> </span></span></p>



<p class="MsoNormal"><span><span style="background: rgb(235, 239, 249) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" lang="EN-US">if anyone have a simple functional example of client/server in the same
program , it will be very valuable for many..</span></span></p>

<p class="MsoNormal"><span><span style="background: rgb(235, 239, 249) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" lang="EN-US"> </span></span></p>



<p class="MsoNormal"><span><span style="background: rgb(235, 239, 249) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" lang="EN-US">thanks in advance.</span></span></p>



<p class="MsoNormal"><span><span style="background: rgb(235, 239, 249) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" lang="EN-US"> </span></span><span lang="EN-US"></span></p>



</div>

</div>


<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>