HP3000-L Archives

June 1995, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jim Wowchuk <[log in to unmask]>
Reply To:
Jim Wowchuk <[log in to unmask]>
Date:
Fri, 2 Jun 1995 08:26:38 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
At 11:02 AM 1/6/95 PDT, David Doyle wrote:
>Here's some actual C code that enables broadcast packets.  The variable 's'
[snip...]
 
Sorry, but the setsockopt(s, SOL_SOCKET, SO_BROADCAST, ...) function is not
the solution.  As the man pages state:
 
     SO_BROADCAST             (boolean option; SOCK_DGRAM and AF_INET
                              sockets only) toggles permission to
                              transmit broadcast messages.
                              ^^^^^^^^
 
Yes I do need to set the option when broadcasting - sendto() - but my problem
is receiving.  The 3000 seems to be able to broadcast with little difficulty
and this can be picked up simultaneously by our 9000 and PCs.  But the
reverse is not true.  If the 9000 broadcasts, the PCs pick it up, but the
3000 doesn't.  Similarly, if a PC broadcasts the 9000 and other PCs pick it
up, but not the 3000.
 
To be sure, I set the SO_BROADCAST option on the socket on the receiving
socket anyway.  No difference.
 
So once more...any ideas?  I'm suspecting there may be a NMMGR configuration
issue here.  Either that or gremlins.
 
Thanks.
----
Jim "seMPEr" Wowchuk           Internet:    [log in to unmask]
Vanguard Computer Services     Compu$erve:  100036,106
 _--_|\                        Post:        PO Box 18, North Ryde, NSW 2113
/      \                       Phone:       +61 (2) 888-9688
\.--.__/ <---Sydney NSW        Fax:         +61 (2) 888-3056
      v      Australia

ATOM RSS1 RSS2