mirror of
https://github.com/ruby/ruby.git
synced 2025-08-16 05:59:00 +02:00
* ext/socket: AddrInfo is renamed to Addrinfo. [ruby-dev:37876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b3e665760e
commit
88f04bdd32
13 changed files with 229 additions and 225 deletions
|
@ -129,11 +129,11 @@ unix_path(VALUE sock)
|
|||
* _flags_ should be a bitwise OR of Socket::MSG_* constants.
|
||||
*
|
||||
* s1 = Socket.new(:UNIX, :DGRAM, 0)
|
||||
* s1_ai = AddrInfo.unix("/tmp/sock1")
|
||||
* s1_ai = Addrinfo.unix("/tmp/sock1")
|
||||
* s1.bind(s1_ai)
|
||||
*
|
||||
* s2 = Socket.new(:UNIX, :DGRAM, 0)
|
||||
* s2_ai = AddrInfo.unix("/tmp/sock2")
|
||||
* s2_ai = Addrinfo.unix("/tmp/sock2")
|
||||
* s2.bind(s2_ai)
|
||||
* s3 = UNIXSocket.for_fd(s2.fileno)
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue