From: Bharadwaj Srigiriraju Date: 2012-03-25T05:02:26+09:00 Subject: Re: Need to create a file-sharing client like Gnutella, where to start? Brian Candler wrote in post #1053069: > 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 :-) hmm... Can you tell me any specific implementation that has been already done in this area? You said that I need to learn concepts like TCP/IP, sockets etc. What are those other things I need to learn along with them? Just asking, can this thing be completed in a month duration? (I have never developed an application before, that's why...). -- Posted via http://www.ruby-forum.com/.