Easy sockets

Hey all,
Im looking for a library that makes networking in c++ easier. I've used "raw" sockets in linux, but i really didnt like it.

Any suggestions is appreciated :)
Unmaintained and unsupported, but socket++ is very easy to use, and it works for simple use cases. http://www.linuxhacker.at/socketxx
Unmaintained and unsupported, but socket++ is very easy to use, and it works for simple use cases. http://www.linuxhacker.at/socketxx

That looks really nice but it seems that only is for linux, correct? I need something cross platform, should have put that in OP

Would Qt be an overkill? http://qt-project.org/doc/qt-5/qtcpsocket.html

Yeah, I'd rather not use QT :p

POCO might be interesting:

http://pocoproject.org/
http://pocoproject.org/docs/

Ill give it a look.

Thanks everyone!
Check out liblacewing:
http://lacewing-project.org/
It's a personal favorite of mine.
SFML is easy enough, it only took me a few hours to get the hang of it: http://www.sfml-dev.org/documentation/2.1/classsf_1_1Socket.php
I really like the looks of lacewing :)
I was actually waiting for someone to mention boost haha

Thanks for all the suggestions! I think im set now.
Is there more examples of lacewing? I checked out both the API docs & the examples they gave but I'd like a little more.

Sorry for the double post btw
What kind of example are you looking for?
Anything really. A simple game using it would be perfect.
SFML has a nice networking API, and it's very well documented.
Last edited on
liblacewing is not very well known and is still in alpha development. Any games made with it would be made by me, since I'm a friend of the developer. People are pushing you to SFML and Boost, it looks like you haven't even considered them as options yet.

EDIT: So, I'm a total idiot. Leave me to my stupidity.
Last edited on
Any games made with it would be made by me, since I'm a friend of the developer.


Well then chop chop LB, what's the hold up? Nah I'm just messing with you. But you should realize that, assuming your claim isn't exaggerated, the fact that you aren't claiming the title of co-developer calls into question its ... longevity let's say. I've never heard of it until today, but if I were asked in a meeting about it tomorrow I'd say you just torpedoed your "friend". Even us non-devs have to be-able to spot vapor-ware.

EDIT: @OP: SFML is well established, well documented, cross-platform and most importantly IMO, known at this site. What is there left to decide?
Last edited on
@computergeek: If I didn't act like an idiot occasionally people would freak out. (I'm actually feeling pretty stupid right now.)
Last edited on
Topic archived. No new replies allowed.