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.
I have no experience with sockets and I need to implement a process that
Share
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.