ibou has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to write a routing algorithm that would send a UDP broadcast to many computers, but don't know how to write the udp broadcast part, basically I am having a problem with the communication part.

Replies are listed 'Best First'.
Re: UDP broadcast
by perrin (Chancellor) on May 10, 2002 at 18:12 UTC
      Multicast != Broadcast I've had the same issues. sendto returns an error if you try to send to a broadcast address.
Re: UDP broadcast
by Mr. Muskrat (Canon) on May 10, 2002 at 18:05 UTC

    IO::Socket perhaps?
    And remember... Google is your friend.


    Who says that programmers can't work in the Marketing Department?
    Or is that who says that Marketing people can't program?