Posted on 2007-11-07 20:51:04-08 by jaslong
IPv6 support
It seems Net::Server cannot listen on an IPv6 interface?
2007/11/07-16:09:13 main (type MySmtpProxyServer) starting! pid(12409) Binding to TCP port 10045 on host ipv6-localhost 2007/11/07-16:09:13 Can't connect to TCP port 10045 on ipv6-localhost [Invalid argument]
It looks like Net::Server uses IO::Socket::INET, which doesn't seem to support IPv6. Any clues how I should proceed for making my Net::Server-derived application usable for IPv4 AND IPv6?
Direct Responses: 9540 | Write a response
Posted on 2008-12-12 18:42:01-08 by jaslong in response to 6417
Re: IPv6 support

This patch was written over a year ago, and not much tested, but I thought I should link to it in case anyone else finds it useful.

This is a patch for Net::Server to give it IPv6 support.

https://sourceforge.net/tracker2/?func=detail&aid=1834879&group_id=207482&atid=1001854
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.