mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/socket.c (Init_socket): IPv6 is not supported although
AF_INET6 is defined on bcc32. (rev1.108 again) * ext/socket/mkconstants.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4900ea772
commit
8687b8ffe8
3 changed files with 16 additions and 7 deletions
|
@ -1,3 +1,10 @@
|
|||
Mon Feb 28 23:10:13 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* ext/socket/socket.c (Init_socket): IPv6 is not supported although
|
||||
AF_INET6 is defined on bcc32. (rev1.108 again)
|
||||
|
||||
* ext/socket/mkconstants.rb: ditto.
|
||||
|
||||
Mon Feb 28 21:55:49 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
|
||||
|
||||
* ext/strscan/strscan.c (strscan_s_allocate):
|
||||
|
|
|
@ -36,8 +36,6 @@ AF_APPLETALK
|
|||
PF_APPLETALK
|
||||
AF_UNSPEC
|
||||
PF_UNSPEC
|
||||
AF_INET6
|
||||
PF_INET6
|
||||
AF_LOCAL
|
||||
PF_LOCAL
|
||||
AF_IMPLINK
|
||||
|
@ -142,7 +140,6 @@ IPPROTO_TP
|
|||
IPPROTO_XTP
|
||||
IPPROTO_EON
|
||||
IPPROTO_BIP
|
||||
|
||||
IPPROTO_RAW 255
|
||||
IPPROTO_MAX
|
||||
|
||||
|
@ -176,6 +173,7 @@ IP_DROP_MEMBERSHIP
|
|||
IP_DEFAULT_MULTICAST_TTL
|
||||
IP_DEFAULT_MULTICAST_LOOP
|
||||
IP_MAX_MEMBERSHIPS
|
||||
|
||||
SO_DEBUG
|
||||
SO_REUSEADDR
|
||||
SO_REUSEPORT
|
||||
|
@ -205,11 +203,9 @@ SO_WANTOOBFLAG
|
|||
SO_NREAD
|
||||
SO_NKE
|
||||
SO_NOSIGPIPE
|
||||
|
||||
SO_SECURITY_AUTHENTICATION
|
||||
SO_SECURITY_ENCRYPTION_TRANSPORT
|
||||
SO_SECURITY_ENCRYPTION_NETWORK
|
||||
|
||||
SO_BINDTODEVICE
|
||||
SO_ATTACH_FILTER
|
||||
SO_DETACH_FILTER
|
||||
|
@ -239,6 +235,7 @@ EAI_SYSTEM
|
|||
EAI_BADHINTS
|
||||
EAI_PROTOCOL
|
||||
EAI_MAX
|
||||
|
||||
AI_PASSIVE
|
||||
AI_CANONNAME
|
||||
AI_NUMERICHOST
|
||||
|
@ -248,6 +245,7 @@ AI_V4MAPPED_CFG
|
|||
AI_ADDRCONFIG
|
||||
AI_V4MAPPED
|
||||
AI_DEFAULT
|
||||
|
||||
NI_MAXHOST
|
||||
NI_MAXSERV
|
||||
NI_NOFQDN
|
||||
|
@ -255,7 +253,7 @@ NI_NUMERICHOST
|
|||
NI_NAMEREQD
|
||||
NI_NUMERICSERV
|
||||
NI_DGRAM
|
||||
|
||||
SHUT_RD 0
|
||||
SHUT_WR 1
|
||||
SHUT_RDWR 2
|
||||
|
||||
|
|
|
@ -2643,5 +2643,9 @@ Init_socket()
|
|||
|
||||
/* constants */
|
||||
mConst = rb_define_module_under(rb_cSocket, "Constants");
|
||||
#include "constants.h"
|
||||
#include "constants.h"
|
||||
#ifdef INET6 /* IPv6 is not supported although AF_INET6 is defined on bcc32/mingw */
|
||||
sock_define_const("AF_INET6", AF_INET6);
|
||||
sock_define_const("PF_INET6", PF_INET6);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue