Not listen to your own broadcast
Not listen to your own broadcast
- Subject: Not listen to your own broadcast
- From: Liwei <email@hidden>
- Date: Mon, 20 Oct 2008 05:56:16 +0800
[Thank you all who helped me with the past few questions, they were
precisely correct and allowed me to move on quickly! =)]
I've got another question, though I'm not sure if it can actually be done.
I'll need to ignore my own broadcast/multicast messages, is that possible?
What I'm doing is something similar to presence detection. An
application broadcasts a "WHO" message and everyone who receives it
responds with a "ME". The messages are just simple markers, I don't
need to uniquely identify who sent the response. The application just
counts the number of "ME" it receives and reports the count. (I know
its possible to receive duplicates, but I really don't wish to
complicate things further)
The problem is that the application sending "WHO" also receives it
itself and responds to it. Thus the count is always one too many.
I know I can just subtract one or append a unique identifier to each
message but it'll get more complicated than I like (and time is not on
my side), plus I want to know if this can be done anyway.
Any ideas?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden