The setting is as follow : i am listening (as machine 1) to two remote machines ( 2 and 3) using 'receivefrom()' (C socket API), i get a message from machine 2 then i delegate to machine 3, machine 3 and 1 (my machine) both send and receive to each other.
My questions :
1- Would 'receivfrom' and 'sendto' on machine 1 work to communicate with machine 1 & 2?
2- Can one bind to two different sockets ? if so what's the proper way to do it ?
3- does this scenario need multicast on ?
Aucun commentaire:
Enregistrer un commentaire