>[EMAIL PROTECTED] wrote:
>>
>> This may be a stupid question, or possibly one not even dealing with
perl.
>> But can anyone point me to a way to make a UDP broadcast server?
>>
>> I mean a true broadcast, or a "one to many" transmission. Is there a
>> special flag to pass to IO::Socket to make packets replicate across the
>> network? I've built a UDP server, and I can talk to one client just
fine,
>> that was fine for the client (listener) development, but now I want to
have
>> multiple clients listening, and just one server sending to all of them.
>> Can this be done? what stupid, simple thing am I missing?
>
>Haven't played with broadcasting in Perl, but try experimenting with:
>
>setsockopt to SO_BROADCAST
>
>and the addr INADDR_BROADCAST (which should be equiv to inet_aton
('255.255.255.255')).
oddly enough, just adding SO_BROADCAST to my google search led me to
several examples that look very promising. prior to that searching on
"perl udp broadcast" ALWAYS led me to that damn example out of the cookbook
on about 1,000,000 pages. I'm gonna mess with and break some of these
examples and we'll see what happens!
Thanks,
Chuck
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users