How do I receive broadcast results?

Cameron Laird (claird@Starbase.NeoSoft.COM)
Fri, 6 Jun 1997 06:43:05 -0500 (CDT)

This is embarrassing; it's a question that I suspect has an
easy answer, but one that I didn't turn up in looking through
man/*, the mailing list archives, or my first round of source-
code inspection.

This is my question: how do I receive the complete results
from an SNMP session request addressed to a *broadcast* ad-
dress? I think I'm asking something reasonable; if I command
Scotty
set s [snmp session -address $MYSUBNET.255]
$s get sysDescr.0

I can watch in the debugger as the full collection of distinct
nodes report back, and Scotty receives all the packets, but
the only result it returns, or that shows up in %V, if I ask
for that binding, is the last machine to reply. How am I
supposed to work with broadcast addresses?

Perhaps related question: when I do the same from one par-
ticular host, even while running Scotty as root, I receive an
error diagnostic, "sendto failed: permission denied". Yes,
root owns /usr/local/bin/ntping, and the latter has its sticky
bit set. Again, I looked through the archive of the mailing
list. Next I'll start on the source code, but I suspect what
I most need is better understanding of what Scotty is *supposed*
to do with such requests.

Cameron Laird http://starbase.neosoft.com/~bodi/nesi.html
Network Engineered Solutions +1 713 763 8366
claird@NeoSoft.com +1 281 996 8546 FAX
Houston WWW Business Guide: http://starbase.neosoft.com/~bodi/HouGuide.html

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.