PHP 8.2.31
Preview: cdesc-Socket.yaml Size: 2.29 KB
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Socket/cdesc-Socket.yaml

--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: getaddrinfo
- !ruby/object:RI::MethodSummary 
  name: gethostbyname
- !ruby/object:RI::MethodSummary 
  name: getservbyname
comment: 
- !ruby/struct:SM::Flow::P 
  body: Class <tt>Socket</tt> provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Exception Handling
- !ruby/struct:SM::Flow::P 
  body: Ruby's implementation of <tt>Socket</tt> causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Documentation by
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Zach Dennis
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Sam Roberts
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <em>Programming Ruby</em> from The Pragmatic Bookshelf.
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: Much material in this documentation is taken with permission from <em>Programming Ruby</em> from The Pragmatic Bookshelf.
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: AF_INET6
  value: Object.new
full_name: Socket
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: accept
- !ruby/object:RI::MethodSummary 
  name: accept_nonblock
- !ruby/object:RI::MethodSummary 
  name: bind
- !ruby/object:RI::MethodSummary 
  name: connect
- !ruby/object:RI::MethodSummary 
  name: connect_nonblock
- !ruby/object:RI::MethodSummary 
  name: listen
- !ruby/object:RI::MethodSummary 
  name: recvfrom
- !ruby/object:RI::MethodSummary 
  name: recvfrom_nonblock
- !ruby/object:RI::MethodSummary 
  name: sysaccept
name: Socket
superclass: Object

Directory Contents

Dirs: 1 × Files: 13

Name Size Perms Modified Actions
Constants DIR
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
5.59 KB lrw-r--r-- 2023-07-26 13:47:07
Edit Download
2.12 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
6.09 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
2.29 KB lrw-r--r-- 2023-07-26 13:47:07
Edit Download
8.77 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
1.76 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
5.88 KB lrw-r--r-- 2023-07-26 13:47:07
Edit Download
3.81 KB lrw-r--r-- 2023-07-26 13:47:07
Edit Download
729 B lrw-r--r-- 2023-07-26 13:47:07
Edit Download
5.04 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
7.38 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
2.66 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
1.80 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).