I am looking to do socket communications (listen, accept, connect, recv, send, disconnect) in both linux and windows. My project is in C, so unless someone can think of a way fo
Ptlib provides cross platform C++ code that works well for sockets. www.opalvoip.org
Copes nicely with threads. Some support for mac and BSD. Under active development and maintainance. MPL Core library in Ekiga - the preferred desktop app that does SIP & H.323
For windows - it compiles with MSVC. for linux, it compiles with gcc autoconf make etc.
OK, it is C++, but you can work with that... Have a the source inside ptlib/samples - there are many examples of using ptlib there.