Tutorial :C++ socket server on Mac. Help!


I'm planning on writing a socket server in C++ running on a Mac. I've been searching through a great portion of the internet without any results. Anyone knows where to start? Or even got a basic source code? Much appreciated.


i think the ASIO Library is platform independent enough for that.

Look here: Boost Asio Asio Only



The above may be a good place to start - good easy intro to the sockets API with code examples.


Given that the mac has a unix-oid back-end (derived from the BSD family) any unix resource like Beej's guide to sockets should be applicable. Also, a unix network programming book like the one written by the late W. Richard Stevens is a good resource, His books on the subject are amongst the best in print and regarded as classic works on the subject.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »