diff options
author | fourdan | 2007-05-07 12:33:25 +0000 |
---|---|---|
committer | fourdan | 2007-05-07 12:33:25 +0000 |
commit | 2b2ed078008dc67a2416c1734754afdfb2d705ba (patch) | |
tree | 879609df022a2b96a384c8dbeaa25137924bf83c | |
parent | cdc0d4f365e942d25cdb43bcc058855d2394204c (diff) | |
download | ivy-perl-2b2ed078008dc67a2416c1734754afdfb2d705ba.zip ivy-perl-2b2ed078008dc67a2416c1734754afdfb2d705ba.tar.gz ivy-perl-2b2ed078008dc67a2416c1734754afdfb2d705ba.tar.bz2 ivy-perl-2b2ed078008dc67a2416c1734754afdfb2d705ba.tar.xz |
Use ReusePort instead of ReuseAddr for Mac OS-X (and others?)
-rw-r--r-- | Ivy.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -766,7 +766,7 @@ sub start (LocalPort => $self->[broadcastPort], Proto => 'udp', Type => SOCK_DGRAM, - Reuse => 1); + ReusePort => 1); $self->[supSock]->sockopt (SO_BROADCAST, 1); foreach my $netBroadcastAddr (@{$self->[broadcastBuses]}) { # print "BroadcastBus: --", $netBroadcastAddr, "--\n"; @@ -778,7 +778,7 @@ sub start # creating the multicast socket $self->[supSock] = IO::Socket::Multicast->new (LocalPort => $self->[broadcastPort], - ReuseAddr => 1); + ReusePort => 1); # Multicast datagrams with initial TTL 0 are restricted to the same host. # Multicast datagrams with initial TTL 1 are restricted to the same subnet. |