# Documentation for Socket is not there!

**URL:** <https://www.ruby-forum.com/t/documentation-for-socket-is-not-there/89311>\
**Category:** Ruby\
**Created:** [March 19, 2007, 2:00pm UTC](https://www.ruby-forum.com/t/documentation-for-socket-is-not-there/89311 "2007-03-19T14:00:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sai438](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sai438](https://www.ruby-forum.com/u/sai438)\
**Post date:** [March 19, 2007, 2:00pm UTC](https://www.ruby-forum.com/t/documentation-for-socket-is-not-there/89311/1 "2007-03-19T14:00:01Z")

</div>

I am unable to view the documentation for Socket related APIs. can any  
help me out of this??

---

<div class="post-metadata">

**Author:** ![sai438](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sai438](https://www.ruby-forum.com/u/sai438)\
**Post date:** [March 19, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/documentation-for-socket-is-not-there/89311/2 "2007-03-19T14:10:39Z")

</div>

On 3/19/07, sairam MP [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am unable to view the documentation for Socket related APIs. can any  
> help me out of this??

Hello.

Consider searching the web for the information you seek:  
[http://www.google.com/search?q=ruby+socket](http://www.google.com/search?q=ruby+socket)

This was the _first_ result.  
[http://www.ruby-doc.org/stdlib/libdoc/socket/rdoc/index.html](http://www.ruby-doc.org/stdlib/libdoc/socket/rdoc/index.html)

Hope that helps,  
-Harold

---

<div class="post-metadata">

**Author:** ![sai438](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sai438](https://www.ruby-forum.com/u/sai438)\
**Post date:** [March 19, 2007, 2:26pm UTC](https://www.ruby-forum.com/t/documentation-for-socket-is-not-there/89311/3 "2007-03-19T14:26:06Z")

</div>

Harold H. wrote:

> On 3/19/07, sairam MP [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > I am unable to view the documentation for Socket related APIs. can any  
> > help me out of this??
> 
> Hello.
> 
> Consider searching the web for the information you seek:  
> [ruby socket - Google Search](http://www.google.com/search?q=ruby+socket)
> 
> This was the _first_ result.  
> [http://www.ruby-doc.org/stdlib/libdoc/socket/rdoc/index.html](http://www.ruby-doc.org/stdlib/libdoc/socket/rdoc/index.html)
> 
> Hope that helps,  
> -Harold

Actually I was saying about the documentation in the Ruby Software in  
Linux FC4 using ri

---

<div class="post-metadata">

**Author:** ![sai438](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sai438](https://www.ruby-forum.com/u/sai438)\
**Post date:** [March 19, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/documentation-for-socket-is-not-there/89311/4 "2007-03-19T16:36:24Z")

</div>

On 19 Mrz., 15:12, “Phrogz” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ---------------------------------------------------------- Class:  
> Socket  
> Class Socket 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  
> [snip]
> 
> But I’m on MacOS X with my own build of Ruby 1.8.5. What version of  
> Ruby are you using?

Works on (K)ubuntu too…

---

<div class="post-metadata">

**Author:** ![sai438](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sai438](https://www.ruby-forum.com/u/sai438)\
**Post date:** [March 20, 2007, 1:51am UTC](https://www.ruby-forum.com/t/documentation-for-socket-is-not-there/89311/5 "2007-03-20T01:51:32Z")

</div>

On Mar 19, 2007, at 06:26, sairam MP wrote:

> > [ruby socket - Google Search](http://www.google.com/search?q=ruby+socket)
> > 
> > This was the _first_ result.  
> > [http://www.ruby-doc.org/stdlib/libdoc/socket/rdoc/index.html](http://www.ruby-doc.org/stdlib/libdoc/socket/rdoc/index.html)
> > 
> > Hope that helps,  
> > -Harold
> 
> Actually I was saying about the documentation in the Ruby Software in  
> Linux FC4 using ri

It most definitely gets generated on 1.8.5. You’re either missing  
some part of ruby or need to file a bug with your ruby packager.

---

<div class="post-metadata">

**Author:** ![sai438](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sai438](https://www.ruby-forum.com/u/sai438)\
**Post date:** [March 19, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/documentation-for-socket-is-not-there/89311/6 "2007-03-19T15:16:15Z")

</div>

On Mar 19, 7:26 am, sairam MP [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Actually I was saying about the documentation in the Ruby Software in  
> Linux FC4 using ri

Ah, if that’s what you meant, that’s what you should have said. 🙂

It works fine for me:

Slim:~ gkistner$ ri Socket  
---------------------------------------------------------- Class:  
Socket  
Class Socket 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  
[snip]

But I’m on MacOS X with my own build of Ruby 1.8.5. What version of  
Ruby are you using?
