diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-11 01:38:02 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-11 01:38:02 +0000 |
| commit | 1930d58a427a45c16ea41a7435a0367fb3b2c8fa (patch) | |
| tree | dccf005160542cbad27169e2b34659d76e2e305b | |
| parent | 7473a8679b6885445dcde56b4dc6601fb5a21f88 (diff) | |
| download | ruby-1930d58a427a45c16ea41a7435a0367fb3b2c8fa.tar.gz ruby-1930d58a427a45c16ea41a7435a0367fb3b2c8fa.tar.xz ruby-1930d58a427a45c16ea41a7435a0367fb3b2c8fa.zip | |
updated.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | NEWS | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -91,7 +91,7 @@ with all sufficient information, see the ChangeLog file. * incompatible changes: * Socket#{recvfrom,recvfrom_nonblock,accept,accept_nonblock,sysaccept} returns a sender address as Addrinfo object instead of a binary sockaddr string. - * BasicSocket#getsockopt returns Socket::Option object instead of a string. + * BasicSocket#getsockopt returns Socket::Option object instead of a binary string. * new class: * Addrinfo @@ -124,9 +124,15 @@ with all sufficient information, see the ChangeLog file. Socket#{connect,connect_nonblock} accepts an Addrinfo object as sockaddr. * BasicSocket#getsockopt accepts a Socket::Option object. - * string/symbol as protocol/address family, socket type, protocol level, - socket option name and shutdown's how argument can be specified as a - string/symbol. + * constant names can be accepted as well as constant values. + i.e. Socket.new(:PF_INET, :SOCK_STREAM, 0) + The constant names can be specified without the prefix. + i.e. Socket.new(:INET, :STREAM, 0) + * protocol/address family + * socket type + * socket option protocol level + * socket option name + * shutdown's argument * pathname * new methods: |
