mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/unixsocket.c: [DOC] Fix example to render in HTML
properly, with a patch by @eval [Fixes GH-733] https://github.com/ruby/ruby/pull/733 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b394484a9a
commit
f21431e574
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat Oct 11 09:32:00 2014 Zachary Scott <e@zzak.io>
|
||||
|
||||
* ext/socket/unixsocket.c: [DOC] Fix example to render in HTML
|
||||
properly, with a patch by @eval [Fixes GH-733]
|
||||
https://github.com/ruby/ruby/pull/733
|
||||
|
||||
Sat Oct 11 04:14:41 2014 Kir Shatrov <shatrov@me.com>
|
||||
|
||||
* lib/open-uri.rb (OpenURI::Options): add :open_timeout default
|
||||
|
|
|
@ -278,6 +278,8 @@ recvmsg_blocking(void *data)
|
|||
* call-seq:
|
||||
* unixsocket.recv_io([klass [, mode]]) => io
|
||||
*
|
||||
* Example
|
||||
*
|
||||
* UNIXServer.open("/tmp/sock") {|serv|
|
||||
* UNIXSocket.open("/tmp/sock") {|c|
|
||||
* s = serv.accept
|
||||
|
@ -475,7 +477,7 @@ unix_peeraddr(VALUE sock)
|
|||
* UNIXSocket.pair([type [, protocol]]) => [unixsocket1, unixsocket2]
|
||||
* UNIXSocket.socketpair([type [, protocol]]) => [unixsocket1, unixsocket2]
|
||||
*
|
||||
* Creates a pair of sockets connected each other.
|
||||
* Creates a pair of sockets connected to each other.
|
||||
*
|
||||
* _socktype_ should be a socket type such as: :STREAM, :DGRAM, :RAW, etc.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue