0

Possible Duplicate:
How to ignore your own broadcast udp packets

I am trying to broadcast a discovery message through UDP that discovers all other people in the same subnet. but as soon as I am also in the subnet, I will then receive this message too. Is there a way to stop receiving the message that generates by myself?

Community
  • 1
  • 1
Zhao Jun
  • 11
  • 1
  • 1
    See: http://stackoverflow.com/questions/1762101/how-to-ignore-your-own-broadcast-udp-packets – Deco Feb 21 '12 at 03:33

1 Answers1

2

You can ignore the message you broadcast yourself, but you can never stop it from reaching you once you sent it out.

shinkou
  • 5,138
  • 1
  • 22
  • 32