Networking Lib...

Started by
8 comments, last by no one 20 years, 1 month ago
Hiya First off let me say that having networking in my engine was a request from my friend who's making the art. The complexities of designing an engine and coding the entire thing on my own, on top of my non coding life, leaves me with no time to learn winsock and such... Anyway, Can someone point me to a good, free networking lib that can support a decent amount of people (well, atleast 20) thats written in c++? Thank you ~No1 [edited by - no one on February 21, 2004 4:41:50 AM]
"Make it a habit to be loyal to the activities that serve the highest part of yourself."
Advertisement
I believe SDL has a component called SDL_net or such. Also search for HawkNL.
If a plant cannot live according to its nature, it dies; so a man.
i''m using SDL_net. I don''t think you need to be using SDL to use SDL_net, but i may be wrong.

Don''t expect to dive in and have a networking engine by tonight though. the lib takes care of the really low-level dirt, but designing data packets and networking calls, checking buffers, and logging new clients and such is all still your job.

Fortunately SDL_net comes with a suite of small programs you can reverse engineer to your liking.
This is a good one for your purposes :

http://www.rakkarsoft.com/

Enjoy!

-ddn
Thanks guys.
Checked out sdl_net and raknet. They both look pretty good, although raknet seems to take care of a lot more for you though,
such as reconnection, lag issues, etc. Are there any tutorials on adding raknet to a game engine? Chat engine''s look pretty easy to make and from what I can tell you derived your object
class from CMultiplayer or whatever it is...hmmm. I guess I
have to do some things for myself, right!?


Thanks a lot.
"Make it a habit to be loyal to the activities that serve the highest part of yourself."
you might also try zoidcom from www.sharky-x.de/zoidcom, it has a very nice interface and good docu
Raknet has a tutorial in the help section.
http://www.rakkarsoft.com/raknet/manual/minitutorial.html
http://enet.cubik.org/
Replicanet handles everything you need for C++ objects and lag issues. It is free and you can get it from http://www.replicanet.com
I''d have a look at the product review page http://www.gamedev.net/columns/books/productreview.asp?productid=240

This topic is closed to new replies.

Advertisement