using dev4, what is the easiest way to send some characters to the same program opend in another ip address?
using dev4, what is the easiest way to send some characters to the same program opend in another ip address?
shouldnt this be in the network forums?
That's a fair point. Moved.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
Bind one socket to one interface, and bind another socket to the other interface. Then use the regular send() and recv() functions to send the data across and receive it on the other side.
When you connect, make sure and use the actual interface ip address instead of the loopback address though.