Bharadwaj Srigiriraju wrote in post #1053068:
> I am a newbie and I am excited about how Ruby works :)
>
> I am planning to develop a file-sharing client similar to Gnutella using
> Ruby. I think I need to learn something related to networking in Ruby
> and I am not sure where to start off...
>
> What are the things I should know (related to Ruby) before starting this
> project? Can you point me to some good sources to know these things
> more?

First you need the general concepts: how TCP/IP works, what sockets are 
and how to use them, and so on. The relevant classes in Ruby are just 
wrappers around the underlying C API. And of course you need to 
understand all the security pitfalls of networked applications and how 
to avoid them, before exposing your application to the Internet at 
large.

I don't know of a book which teaches those concepts and Ruby programming 
at the same time, but perhaps others here do.

The best book I know on the fundamentals of network programming is "Unix 
Network Programming Volume 1" by the late Richard Stevens. You are 
likely to find this very heavy going if you are new to computing and 
programming in general, but you are unlikely ever to outgrow it :-)

-- 
Posted via http://www.ruby-forum.com/.