I am searching cross-platform techniques to write client-server applications on Mac. I used BSD sockets, Cocoa APIs but I need to know which would be better at performance.
I'm writing an application both on Linux and Solaris 10. It uses local sockets for some internal communications. On Linux an open, exchange one short message & close cycle takes about 10us elapsed time. On Solaris 10 x86, it takes about 400us.
This is such atrociously bad performance, that I think I might have done something fundamentally wrong.
I have written network applications based on BSD sockets on an embedded platform. Now I want to port my application on to POSIX platform (Linux). Does Linux providing any kind of wrapper which I can use for porting my application.
I have a scenario where I'm trying to research (and utilise) the best available C++ Library to fulfill the following requirements:
Develop a low-level Linux based TCP/IP Socket CLIENT application, that,
a) can connect to a 3rd party SERVER via up to 4-5 sockets
b) POLL it every 200 milli seconds (with a small piece of data) - via all 5 sockets