0

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.

3 Answers 3

2

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

Look here: Boost Asio Asio Only

Sign up to request clarification or add additional context in comments.

Comments

1

http://cs.ecs.baylor.edu/~donahoo/practical/CSockets/

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

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.