News for hackers. Stuff that matters.
Re:Socket.IO C++ by angersock on Monday April 13, 2015 @01:02PM (#9368841)
If you don't care about speed, Berkeley sockets (bind, listen, accept, etc.) are just fine and very easy to deal with.

If you do care about speed, you should be banging against the operating system's provided tools anyways (IOCP on Windows, kqueue on BSD, epoll on Linux, etc.).

If it's abstraction you care about, you shouldn't be doing networking with raw TCP anyways, and should just use zmq, nanomsg, or whatever, and not drag in the entire clown car of boost.

Re:Socket.IO C++ by BinaryIdiot on Monday April 13, 2015 @01:11PM (#9368914)
> not drag in the entire clown car of boost.

As far as I can tell you can just import what you want and not have to bring in the entire boost library to use asio. Is that not correct?

Re:Socket.IO C++ by VikingCoder on Monday April 13, 2015 @01:55PM (#9369201)
This weekend I tried to bring in boost format. I tried to bring in JUST format, but nope... exceptions, and config, and a bunch of other stuff... Fifteen libraries, maybe?
Re:Socket.IO C++ by plorkyeran on Monday April 13, 2015 @01:59PM (#9369233)
asio specifically is available in a standalone version that does not depend on any other boost libraries.
Re:Socket.IO C++ by zwily on Monday April 13, 2015 @01:12PM (#9368916)
Boost's asio has backends (reactors) for IOCP, kqueue, etc. The whole point is you write to one interface and take advantage of their performance.