eloranta@tukki.jyu.fi (Jussi Eloranta) (02/09/89)
I've couple of questions about broadcasts on sunos 4.0(.1): 1) What should I do to send a broadcast message (udp, guess it's not possible with tcp..)? Just use a broadcast address (something like x.x.x.255) in structure sockaddr_in and use recvfrom and sendto calls to send/receive data? Well, if this is the way it should work then: 2) Does it require root privs? (I remeber that I read from somewhere that 'older' (= bsd 4.2) systems require root privs? 3) When all else fails.. does someone have a short example that uses broadcasts? Jussi Eloranta -- ============================================================================ Jussi Eloranta Bitnet/Earn/Internet/(whatever): University of Jyvaskyla, eloranta@tukki.jyu.fi Finland