Server IP : 66.29.132.122 / Your IP : 18.118.253.124 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/BasicSocket/ |
Upload File : |
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] 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: [] full_name: BasicSocket includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: getsockopt - !ruby/object:RI::MethodSummary name: recv_nonblock - !ruby/object:RI::MethodSummary name: setsockopt name: BasicSocket superclass: IO