Changeset 10472 for trunk/IO-Socket-Multicast/lib/IO/Socket/Multicast.pm
- Timestamp:
- 02/02/10 22:26:24 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IO-Socket-Multicast/lib/IO/Socket/Multicast.pm
r9674 r10472 186 186 187 187 To receive transmissions B<from> a multicast group, you will use 188 IO::Socket:: INET->new() to create a UDP socket and bind it to a local188 IO::Socket::Multicast->new() to create a UDP socket and bind it to a local 189 189 network port. You will then subscribe one or more multicast groups 190 190 using the mcast_add() method. Subsequent calls to the standard recv() … … 350 350 $socket->mcast_send("How's the weather?") || die; 351 351 352 Note that you may still call IO::Socket:: INET->new() with a352 Note that you may still call IO::Socket::Multicast->new() with a 353 353 B<PeerAddr>, and IO::Socket::INET will perform a connect(), creating a 354 354 default destination for calls to send().
Note: See TracChangeset
for help on using the changeset viewer.
