<div dir="ltr">Hey Len thanks very much answering <div>Few more questions if i may </div><div>Ok so i understand that the Enet Sever as server  not good good enough . <br>What if i take something like boost::asio or libuv and reverse engineer the protocol of ENet what should i look in to from your experience ?<br>Do you think one men could do it ? or it is team effort ?</div><div>Thanks </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 17, 2016 at 12:03 PM, Len Holgate <span dir="ltr"><<a href="mailto:len.holgate@jetbyte.com" target="_blank">len.holgate@jetbyte.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Our server is fully asynchronous in C++ using overlapped I/O (IOCP) and only a few threads for socket I/O (4, generally). It easily supports > 4000 concurrent and active connections with the game logic written in managed code (C#) which we host using the CLR hosting API.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">We didn’t spend much time with the existing ENet server as it just didn’t fit with what we wanted. We just used it as a way to reverse engineer the protocol requirements.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Len<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="http://www.serverframework.com" target="_blank">www.serverframework.com</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> ENet-discuss [mailto:<a href="mailto:enet-discuss-bounces@cubik.org" target="_blank">enet-discuss-bounces@<wbr>cubik.org</a>] <b>On Behalf Of </b>Meir Yanovich<br><b>Sent:</b> 17 August 2016 09:54</span></p><div><div class="h5"><br><b>To:</b> Discussion of the ENet library <<a href="mailto:enet-discuss@cubik.org" target="_blank">enet-discuss@cubik.org</a>><br><b>Subject:</b> Re: [ENet-discuss] Can i use other UDP server farmework like boost::asio or libuv and enet as client ?<u></u><u></u></div></div><p></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><b><span style="font-size:9.5pt">Len Holgate <br></span></b>Thanks! <br>can you please give more info ? <br>is the server thread based or event based ? <br>what is the limits of integrating or extending the enet server ?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Wed, Aug 17, 2016 at 11:38 AM, Len Holgate <<a href="mailto:len.holgate@jetbyte.com" target="_blank">len.holgate@jetbyte.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">We built a Windows, IOCP based C++ server using the ENet protocol for a client and it’s been working well for around 9 years now. We have had to tweak things a little to get the scalability that they wanted and write it all from scratch but it’s not that complex once you understand how the protocol works.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Len</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="http://www.serverframework.com" target="_blank">www.serverframework.com</a></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> ENet-discuss [mailto:<a href="mailto:enet-discuss-bounces@cubik.org" target="_blank">enet-discuss-bounces@<wbr>cubik.org</a>] <b>On Behalf Of </b>Ruud van Gaal<br><b>Sent:</b> 17 August 2016 09:29<br><b>To:</b> Discussion of the ENet library <<a href="mailto:enet-discuss@cubik.org" target="_blank">enet-discuss@cubik.org</a>><br><b>Subject:</b> Re: [ENet-discuss] Can i use other UDP server farmework like boost::asio or libuv and enet as client ?</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">ENet uses a complicated protocol to do its communication, so to create a server in another framework would effectively mean reverse engineering ENet and typing your own code. It's not like its built on an existing standard protocol.<u></u><u></u></p><div><p class="MsoNormal">So my guess would be to just use ENet where you want to use ENet. ;-)<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Ruud<u></u><u></u></p></div></div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On Wed, Aug 17, 2016 at 9:32 AM, Meir Yanovich <<a href="mailto:meiry242@gmail.com" target="_blank">meiry242@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><p class="MsoNormal">Hello all<br>As i understand from the documents it is best to use enet as the server as it know how to <br>Handle the peers and the UDP ordring and such ... <br>my question is can i implement the server in other c/c++ framework ? <br>is it recommended ? is it easily possible? <br>or the ENet server is strong enough to act as MMO server ? <br>Thanks !<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>ENet-discuss mailing list<br><a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a><br><a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/<wbr>mailman/listinfo/enet-discuss</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>ENet-discuss mailing list<br><a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a><br><a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/<wbr>mailman/listinfo/enet-discuss</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div><br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.cubik.org/<wbr>mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br></div>