#define PF_NETROM AF_NETROM #define PF_BRIDGE AF_BRIDGE #define PF_ATMPVC AF_ATMPVC #define PF_X25 AF_X25 #define PF_INET6 AF_INET6 #define PF_ROSE AF_ROSE #define PF_DECnet AF_DECnet #define PF_NETBEUI AF_NETBEUI #define PF_SECURITY AF_SECURITY #define PF_KEY AF_KEY #define...
domain = AF_INET6_LINUX; return SYSCALL(socket)(domain, type, protocol); } if (unlikely((type & SOCK_FSTACK) == 0)) { if (AF_INET6 == domain) domain = AF_INET6_LINUX; return SYSCALL(socket)(domain, type, protocol); }11
PF_INET, PF_INET6, PF_UNIX, ... Protocol family constants to use as the first argument to socket() or the value of the SO_DOMAIN or SO_FAMILY socket option. http://perldoc.perl.org Page 1 Perl version 5.20.1 documentation - Socket AF_INET, AF_INET6, AF_UNIX, ... Address ...
irb(main):005:0> Socket.new Socket::AF_INET, Socket::SOCK_STREAM => #<Socket:fd 12> irb(main):006:0> Socket.new Socket::AF_INET6, Socket::SOCK_STREAM Traceback (most recent call last): 11: from /root/.rbenv/versions/jruby-9.3.3/bin/irb:23:in `' 10: from org/jruby/Ruby...