Can some one suggest the best framework or toolkit/sdk/lib for sockets in c++. I need to use it to build a server, initially the server is for Linux/unix and we want to develop it on Mac using xcode. Also suggest if there is a better editor for this. Later we want to deploy this server for windows or Mac system. But current target is Linux.
The server initially be a chat server using encoded json objects, with multiple listeners on multiple sockets about 5-7 sockets. Each sockets listener will do different task like one will listen the tcp sockets from flash clients. 2nd socket listener will listen the web sockets. then others will be used for admin and http calls, clustering etc.
Later this server will communicate with media (video, audio stream).
We (me and my team) don't have in-depth knowledge of sockets in c++ and networking, so, if suggested library will be easy to understand and do lots of optimization and automations that will be great plus point.