I basically am looking for a cross platform way to do basic things such as accept connections and send and receive data. What library would work in Linux, Windows and Mac?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Winsock is based on the BSD sockets API, which is natively supported on both Linux and OS X (ie.
socket(),connect(),accept(),send(),recv(),select()and so forth).There are some differences, but they are such that it’s usually easier to port from Winsock to true BSD sockets than the reverse.