develooper Front page | perl.perl5.porters | Postings from January 2001

[PATCH] add SO_REUSEPORT to export list in Socket.pm for better multicast support

From:
Jeremy D. Zawodny
Date:
January 10, 2001 11:58
Subject:
[PATCH] add SO_REUSEPORT to export list in Socket.pm for better multicast support
Message ID:
20010109234109.A36394@yahoo-inc.com
The simple patch below adds SO_REUSEPORT to the export list for
Socket.pm. This turns out to be very handy when using Perl for
multicast applications.

A soon-to-come patch against IO::Socket::INET will add support for a
new argument to use this option.

Thanks,

Jeremy
-- 
Jeremy D. Zawodny, <jzawodn@yahoo-inc.com>
Technical Yahoo - Yahoo Finance
Desk: (408) 328-7878    Fax: (408) 530-5454
Cell: (408) 439-9951



--- ext/Socket/Socket.pm.orig	Tue Jan  9 23:26:51 2001
+++ ext/Socket/Socket.pm	Tue Jan  9 23:29:01 2001
@@ -268,6 +268,7 @@
 	SO_RCVLOWAT
 	SO_RCVTIMEO
 	SO_REUSEADDR
+	SO_REUSEPORT
 	SO_SNDBUF
 	SO_SNDLOWAT
 	SO_SNDTIMEO



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About