[REQUEST]Cross-Platform Socket Libary

04/05/2013 13:34 Conrew#1
I'm trying to find a Socket Libary in C++ which i could use on Linux , Windows and Mac OS.

I already found Socket Classes like WinSock | WinSock2 but they are only for Windows.

Hope you can help me ;)

MFG Conrew
04/05/2013 13:42 Zwawo#2
You can follow this tutorial for linux: [Only registered and activated users can see links. Click Here To Register...] .
You can connect with your windows sockets to the sockets, which you created on linux OS with this tutorial.
04/05/2013 13:54 Conrew#3
Quote:
Originally Posted by Zwawo View Post
You can follow this tutorial for linux: [Only registered and activated users can see links. Click Here To Register...] .
You can connect with your windows sockets to the sockets, which you created on linux OS with this tutorial.
Yeah but i want to develop a Programm which i only need to compile on every Operating System and not need to programm it which another Socket Class.

PS: Sorry for my bad English

MFG Conrew
04/05/2013 14:18 Trollface-#4
Look at Boost, there is an cross platform socket library.
04/05/2013 14:20 Schlüsselbein#5
boost::asio if you want modern C++. Its well documented and tested.
Poco might also have some cross-platfom sockets.
04/06/2013 00:20 Conrew#6
Quote:
Originally Posted by Trollface- View Post
Look at Boost, there is an cross platform socket library.
Quote:
Originally Posted by Schlüsselbein View Post
boost::asio if you want modern C++. Its well documented and tested.
Poco might also have some cross-platfom sockets.
Ok Thanks i will test this