I have no experience with sockets and I need to implement a process that notifies a user interface of inputs from another process that takes his values from stdin.
This is the class' documentation, what should the socket parameter be? It's just an int, is it a handle?
I was told it doesn't play nice with boost.asio.
Can you guys help me write a command prompt program that accepts an int from stdin and sends it to my UI? I just need the sending/receiving code.
views:
50answers:
1
+1
A:
It looks like it's expecting to receive the socket handle (int). I suggest you get to know winsock.
Also, googling for the above class + example yields some good results.
Assaf Lavie
2010-01-25 07:47:15
Yeh figured out this much. But how will it look like? Should I just google?
the_drow
2010-01-25 07:53:42