Raw sockets (really: Unix School of Broadcasting)

Chris Torek chris at umcp-cs.UUCP
Fri Aug 8 21:05:02 AEST 1986


>In article <337 at comp.lancs.ac.uk> rodger at dcl-cs.ac.uk writes:
>>Can anyone out there in netland offer any advice, code, hints, photographs,
>>etc on how one gets broadcasting to work with sockets.

In article <499 at opus.nbires.UUCP> atkins at nbires.UUCP (Brian Atkins) replies:
>The best place to find examples of broadcasting network
>code is in the 4.2 rwhod code.

Indeed, rwhod and routed are likely the *only* places to find
working examples.  However, anyone looking there should be aware
that the code in both will not work terribly well on a 4.3 system.
The issue of determining broadcast addresses was largely unresolved
in 4.2, and rwhod and routed simply use something that `happened
to work'.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at mimsy.umd.edu



More information about the Comp.unix.wizards mailing list