Q
Hello I am a beginner for network programming.
Now I am trying to implement some function like this
I am keep listening to a port, when I get some message, I will have
some corresponding response. And the same time, I can send out message.
So I put the listening function in the child process.
My question is when I receive some packet, how can I send signal to the
main thread.
Thanks a lot!
Now I am trying to implement some function like this
I am keep listening to a port, when I get some message, I will have
some corresponding response. And the same time, I can send out message.
So I put the listening function in the child process.
My question is when I receive some packet, how can I send signal to the
main thread.
Thanks a lot!