I im developing some p2p multicasting overlay layer using c.
basically what i want to implement is to multicast a string(or any query) from one node wait for a possible response. In the mean time other nodes which have been joined to the muticasting group are listening for multi-casting messages and respose once a message receive.
my question is how to avoid by receiving a multi-casting message sent by a node itself.
for eg if node A sent a message "Message from A", in my application node A receive the message "Message from A" itself. I want to avoid that from socket level.
Can anybody help me with this please?
Your time is highly appreciated.