REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.35 KB
Close
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/UNIXServer/accept_nonblock-i.yaml
Text
Base64
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Accepts an incoming connection using accept(2) after O_NONBLOCK is set for the underlying file descriptor. It returns an accepted UNIXSocket for the incoming connection. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n serv = UNIXServer.new("/tmp/sock")\n begin\n sock = serv.accept_nonblock\n rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::ECONNABORTED, Errno::EPROTO, Errno::EINTR\n IO.select([serv])\n retry\n end\n # sock is an accepted socket.\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#accept for the exceptions that may be thrown if the call to UNIXServer#accept_nonblock fails. - !ruby/struct:SM::Flow::P body: UNIXServer#accept_nonblock may raise any error corresponding to accept(2) failure, including Errno::EAGAIN. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: UNIXServer#accept - !ruby/struct:SM::Flow::LI label: "*" body: Socket#accept type: :BULLET full_name: UNIXServer#accept_nonblock is_singleton: false name: accept_nonblock params: | unixserver.accept_nonblock => unixsocket visibility: public
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
accept_nonblock-i.yaml
1.35 KB
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cdesc-UNIXServer.yaml
1.71 KB
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
listen-i.yaml
5.04 KB
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).