Add inet_pton and inet_ntop to the list of functions exported by Socket
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 27 Mar 2009 12:19:16 +0000 (13:19 +0100)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 27 Mar 2009 12:19:16 +0000 (13:19 +0100)
ext/Socket/Socket.pm

index 6b268ef..7d130ba 100644 (file)
@@ -198,6 +198,7 @@ use XSLoader ();
 @ISA = qw(Exporter);
 @EXPORT = qw(
        inet_aton inet_ntoa
+       inet_pton inet_ntop
        sockaddr_family
        pack_sockaddr_in unpack_sockaddr_in
        pack_sockaddr_un unpack_sockaddr_un