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:
David Doyle <[log in to unmask]>
Reply To:
David Doyle <[log in to unmask]>
Date:
Thu, 1 Jun 1995 11:02:43 PDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
Jim Wowchuck asks:
 
>Anyone got ideas on what it takes to get a 3000 to receive the broadcast?
 
Here's some actual C code that enables broadcast packets.  The variable 's'
contains the value returned from the socket() call.
 
    int v = 1;
 
    if (setsockopt(s, SOL_SOCKET, SO_BROADCAST, &v, 4) < 0) {
        printf("setsockopt %s\n", get_network_errmsg());
    }
 
 
David Doyle
Quest Software

ATOM RSS1 RSS2