Is there any free open source library (in C/C++) for sockets that is widely used and supports wide range of operating systems (Windows, Unix/Linux, FreeBSD etc). Just like pthreads.
Otherwise the only solution left would be to write socket wrapper for each operating system. Or would writing a wrapper against winsock and GNU C sys/socket.h libraries would be enough?
Wouldn't it be possible that I implement it against the socket library provided with GNU C. GNU C is available for wide range of platforms and my code will work in all those platforms?
An open source library is any library with an open source license, which denotes software that is free to reuse, modify, and/or publish without permission.
A socket library is a library that implements sockets so that you can use them in your program for Internet communication.
Sockets come in two basic types—connection-oriented and connectionless.
Consider looking at boost?
QT if it isn't too big for you. Boost has some network code as well. wxWidgets has with wxNet a network library as well. Another lib is Clanlib. And of course SDL
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With