I have to program a server client logic for 2 application, with this conditions:
- 1 application only send data and the other application only receives this data
- both are in C++
- the application that receives data is supposed to be multiplatform, or at least present under Mac, Linux and Windows
- i have to exchange just numerical values or a well defined set of structs, the data packets have a deadly simple skeleton structure
I was hoping that there is a library that can help me with this to keep my work simple.
I want to stress the fact that i have to use only the headers like sys/socket.h related to socket programming and no other dependecy.
Thanks.
Your requirements are a bit inconsistent, because normally a library is a dependency.
Libraries fulfilling your other requirements: Boost.Asio, http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio.html, and ACE (adaptive communication environment), http://www.cs.wustl.edu/~schmidt/ACE.html.