1. tcp4u vs eulibnet

To all,

I'm working on developing a client/server application with multiple 
clients connecting to a single server.  

In your experience, which is better suited for such a task?

tcp4u or eulibnet

TIA,

Jonas

new topic     » topic index » view message » categorize

2. Re: tcp4u vs eulibnet

Hi Jonas,

> I'm working on developing a client/server application with multiple
> clients connecting to a single server.
>
> In your experience, which is better suited for such a task?
>
> tcp4u or eulibnet

euLibnet is designed for games programming as it is faster.  One of the
example programs that comes with euLibnet is a very simple multi-client
chat server.

euTcp4u has the drawback that when the server is checking for new
connections
it is in "blocked" mode.  ie. no other processing can take place while
waiting
for a new connection.  This can time out after 1 second if you wish. If
there are
no new connections you will wait for a second everytime.
This isn't a problem if you wait until all players have connected before
starting  a game.

If I was to make something like a multi client card game server, or a client
server based chess game I would use euTcp4u as a 1 second delay isn't a
problem.

If I was to make a networked action game I would use euLibnet.

Hope that helps,

Ray Smith.
(author of euLibnet and euTcp4u)

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu