[ENet-discuss] Can i use other UDP server farmework like boost::asio or libuv and enet as client ?

Len Holgate len.holgate at jetbyte.com
Wed Aug 17 02:03:43 PDT 2016


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.

 

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.

 

Len

www.serverframework.com <http://www.serverframework.com> 

 

 

From: ENet-discuss [mailto:enet-discuss-bounces at cubik.org] On Behalf Of Meir Yanovich
Sent: 17 August 2016 09:54
To: Discussion of the ENet library <enet-discuss at cubik.org>
Subject: Re: [ENet-discuss] Can i use other UDP server farmework like boost::asio or libuv and enet as client ?

 

Len Holgate 
Thanks! 
can you please give more info ? 
is the server thread based or event based ? 
what is the limits of integrating or extending the enet server ?

 

On Wed, Aug 17, 2016 at 11:38 AM, Len Holgate <len.holgate at jetbyte.com <mailto:len.holgate at jetbyte.com> > wrote:

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.

 

Len

www.serverframework.com <http://www.serverframework.com> 

 

 

From: ENet-discuss [mailto:enet-discuss-bounces at cubik.org <mailto:enet-discuss-bounces at cubik.org> ] On Behalf Of Ruud van Gaal
Sent: 17 August 2016 09:29
To: Discussion of the ENet library <enet-discuss at cubik.org <mailto:enet-discuss at cubik.org> >
Subject: Re: [ENet-discuss] Can i use other UDP server farmework like boost::asio or libuv and enet as client ?

 

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.

So my guess would be to just use ENet where you want to use ENet. ;-)

 

Ruud

 

On Wed, Aug 17, 2016 at 9:32 AM, Meir Yanovich <meiry242 at gmail.com <mailto:meiry242 at gmail.com> > wrote:

Hello all
As i understand from the documents it is best to use enet as the server as it know how to 
Handle the peers and the UDP ordring and such ... 
my question is can i implement the server in other c/c++ framework ? 
is it recommended ? is it easily possible? 
or the ENet server is strong enough to act as MMO server ? 
Thanks !


_______________________________________________
ENet-discuss mailing list
ENet-discuss at cubik.org <mailto:ENet-discuss at cubik.org> 
http://lists.cubik.org/mailman/listinfo/enet-discuss

 


_______________________________________________
ENet-discuss mailing list
ENet-discuss at cubik.org <mailto:ENet-discuss at cubik.org> 
http://lists.cubik.org/mailman/listinfo/enet-discuss

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20160817/ebe9a052/attachment.html>


More information about the ENet-discuss mailing list