1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/socket
akr ef9206bbea * ext/socket/rubysocket.h (rb_cSockOpt): declared.
(sockopt_new): ditto.
  (Init_sockopt): ditto.

* ext/socket/init.c (Init_socket_init): call Init_sockopt.

* ext/socket/depend: add dependency for option.o

* ext/socket/mkconstants.rb: generate intern_level, intern_so_optname,
  intern_ip_optname, intern_ipv6_optname, intern_tcp_optname,
  intern_udp_optname and intern_scm_optname.

* ext/socket/extconf.rb: add option.o.

* ext/socket/basicsocket.c (bsock_setsockopt): accept Socket::Option
  object.
  (bsock_getsockopt): return Socket::Option object.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 01:53:02 +00:00
..
lib * ext/socket/lib/socket.rb: new file. 2009-01-17 13:04:03 +00:00
.cvsignore add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
addrinfo.h * ext/socket/addrinfo.h (AI_NUMERICSERV): defined. 2009-01-13 13:57:53 +00:00
basicsocket.c * ext/socket/rubysocket.h (rb_cSockOpt): declared. 2009-02-02 01:53:02 +00:00
constants.c * ext/socket/raddrinfo.c (addrinfo_mdump): new method. 2009-01-17 18:14:34 +00:00
depend * ext/socket/rubysocket.h (rb_cSockOpt): declared. 2009-02-02 01:53:02 +00:00
extconf.rb * ext/socket/rubysocket.h (rb_cSockOpt): declared. 2009-02-02 01:53:02 +00:00
getaddrinfo.c * ext/socket/extconf.rb (gai_strerror): checks if available and if 2009-01-14 04:09:05 +00:00
getnameinfo.c * ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.h 2009-01-13 03:11:17 +00:00
init.c * ext/socket/rubysocket.h (rb_cSockOpt): declared. 2009-02-02 01:53:02 +00:00
ipsocket.c * ext/socket: split files for each class. 2009-01-17 04:11:27 +00:00
mkconstants.rb * ext/socket/rubysocket.h (rb_cSockOpt): declared. 2009-02-02 01:53:02 +00:00
option.c * ext/socket/rubysocket.h (rb_cSockOpt): declared. 2009-02-02 01:53:02 +00:00
raddrinfo.c * ext/socket/raddrinfo.c (addrinfo_ipv4_private_p): new method. 2009-02-01 12:28:50 +00:00
rubysocket.h * ext/socket/rubysocket.h (rb_cSockOpt): declared. 2009-02-02 01:53:02 +00:00
socket.c * ext/socket/spclet.c (socket_s_ip_address_list): support Windows XP 2009-01-29 02:25:39 +00:00
sockport.h * ext/socket/extconf.rb: use headers instead of "netdb.h" in checking 2009-01-12 17:59:45 +00:00
sockssocket.c * ext/socket/init.c (socks_connect_blocking): moved from 2009-01-27 11:07:41 +00:00
tcpserver.c * ext/socket: split files for each class. 2009-01-17 04:11:27 +00:00
tcpsocket.c * ext/socket: split files for each class. 2009-01-17 04:11:27 +00:00
udpsocket.c * ext/socket: split files for each class. 2009-01-17 04:11:27 +00:00
unixserver.c * ext/socket: split files for each class. 2009-01-17 04:11:27 +00:00
unixsocket.c * ext/socket/unixsocket.c: redandant #ifdef removed. 2009-01-18 05:30:35 +00:00