views:

224

answers:

4

Does someone please tell us where to find classes or functions that communicate with asynchronous sockets (TCP and UDP) between programs runing on unix and windows?

Thanks for your reply

PS; I have already programs that communicate with synchronous sockets.

A: 

Your question is rather vague!

You have unix functions for TCP/UDP communication and you have Windows functions for TCP/UDB communication. You open a socket on Windows and you send data or you open a socket on Unix and you send data.

You define your own protocol for the data coming in/going out and stick to it on both sides of the channel. Quite simple, really.

Computer Guru
Yes I know about that too ... thanks anyway for reply
Apollo
Well, if you know about this and you know about that... what do you not know? What is the *point* of this question on SO? What are you trying to find out!?
Computer Guru
If you think you are smart, you aren't because you (or we) don't know everythings. I posted this question to see what are the possibilities that exist and then to select the appropriate one for my work ...
Apollo
+5  A: 

Try looking into the boost asio library. It has support for assync sockets on windows and unix.

Michael Anderson
thanks! I 'd have a look right now
Apollo
+1  A: 

As well as boost there's poco. Those are the most commonly discussed modern cross platform libraries.

Patrick
thanks! I 'd have a look
Apollo
A: 

YAMI - Yet Another Messaging Infrastructure is a lightweight messaging and networking framework. Check also YAMI video tutorials.

mloskot
thanks! I 'd have a look
Apollo