Okay, so im big on the topic of Sockets in all languages. And as im learning c++ im interested to learn how to use sockets on both the windows and *nix platform. I am aware of winsock on windows, but what options are avaliable under *nix that are cross platform? Are there any options?
C++ Sockets
Started by AuraDevil, Oct 07 2007 11:14 AM
3 replies to this topic
#1
Posted 07 October 2007 - 11:14 AM
|
|
|
#2
Posted 07 October 2007 - 12:57 PM
You can use the berkeley sockets C API which cross platform to most Unix Systems and Windows. Here is a wrapper for it C++ Sockets Library: Unix & Windows networking made easy
"This is a GPL licensed C++ class library wrapping the berkeley sockets C API, and therefore works on most unixes and also win32. The library is in use in a number of real world applications, both commercial and open source.
Features include, but are not limited to, SSL support, IPv6 support, tcp and udp sockets, sctp sockets, http protocol, highly customizable error handling. Testing has been done on Linux and Windows 2000, and to some part on Solaris and Mac OS X."
"This is a GPL licensed C++ class library wrapping the berkeley sockets C API, and therefore works on most unixes and also win32. The library is in use in a number of real world applications, both commercial and open source.
Features include, but are not limited to, SSL support, IPv6 support, tcp and udp sockets, sctp sockets, http protocol, highly customizable error handling. Testing has been done on Linux and Windows 2000, and to some part on Solaris and Mac OS X."
#3
Posted 07 October 2007 - 12:59 PM
Crane said:
You can use the berkeley sockets C API which cross platform to most Unix Systems and Windows. Here is a wrapper for it C++ Sockets Library: Unix & Windows networking made easy
"This is a GPL licensed C++ class library wrapping the berkeley sockets C API, and therefore works on most unixes and also win32. The library is in use in a number of real world applications, both commercial and open source.
Features include, but are not limited to, SSL support, IPv6 support, tcp and udp sockets, sctp sockets, http protocol, highly customizable error handling. Testing has been done on Linux and Windows 2000, and to some part on Solaris and Mac OS X."
"This is a GPL licensed C++ class library wrapping the berkeley sockets C API, and therefore works on most unixes and also win32. The library is in use in a number of real world applications, both commercial and open source.
Features include, but are not limited to, SSL support, IPv6 support, tcp and udp sockets, sctp sockets, http protocol, highly customizable error handling. Testing has been done on Linux and Windows 2000, and to some part on Solaris and Mac OS X."
Sounds pretty much perfect for what im aiming at, thanks alot =]
#4
Posted 15 April 2010 - 04:58 AM
You could use NetLink Sockets C++ lib. It is multi-platform and supports both IP4 and IP6. This lib is very easy to use and you can find code examples in its website.
SourceForge.net: Project netlinksockets
NetLink Sockets C++ Library | Get NetLink Sockets C++ Library at SourceForge.net
Hope it will be usefull!!
SourceForge.net: Project netlinksockets
NetLink Sockets C++ Library | Get NetLink Sockets C++ Library at SourceForge.net
Hope it will be usefull!!


Sign In
Create Account

Back to top









