Neworking side of ruby

Hello all,
I am computer programmer hobbyist who has done a little programming here
and
there but what I am very interested in is Network programming; coding
servers, clients, such… I was wondering how good is Ruby for doing
networking programming?
And if so is there any good resources online about how I could learn the
networking side of Ruby??
Thank you…

Ruby works well for this stuff. Check out the Gserver class. It will
get you a long way towards your goal.

On Tue, Jun 26, 2012 at 2:14 AM, Jam [email protected] wrote:

Ruby works well for this stuff. Check out the Gserver class. It will get you a
long way towards your goal.

Maybe he should start with TCPServer and TCPSocket to know the basics.

Kind regards

robert

I know about the difference between TCP and UDP sockets, and how to
design a basic client/server pair to text with IP over the command-line.
I know the basics its just the next step.

I think IBM “Socket programming in ruby” is good enough to study
networking
in ruby.

How about study more about BSD Socket or analyze networking library
written
in Ruby just like eventmachine?

2012/6/27 smoothedatol412 @gmail.com [email protected]

Are they any resources online about networking in ruby besides the IBM
“Socket programming in ruby” and the docs on the ruby web site?

On Tue, Jun 26, 2012 at 11:15 PM, smoothedatol412 @gmail.com
[email protected] wrote:

I know about the difference between TCP and UDP sockets, and how to
design a basic client/server pair to text with IP over the command-line.
I know the basics its just the next step.

Maybe I wasn’t clear enough: when I said “Maybe he should start with
TCPServer and TCPSocket to know the basics.” I was referring to Ruby
classes:
http://rdoc.info/stdlib/socket/TCPServer
http://rdoc.info/stdlib/socket/TCPSocket

See here for more
http://rdoc.info/stdlib/socket/frames

Cheers

robert

On 27/06/2012 12:33, smoothedatol412 @gmail.com wrote:

Are they any resources online about networking in ruby besides the IBM
“Socket programming in ruby” and the docs on the ruby web site?

The chapter of the book Programming Ruby by Dave T. and Andy H.
called “The Socket API” is available online for free at
Search. I can thoroughly
recommend the rest of the book (not for free) too.

Graham

Thank you to all who have replied to this post, I have alot of work
ahead of me and I post any questions I have to this forum. Thank you
again.

On 28/06/12 18:25, Graham Menhennitt wrote:

Learn from legendary Japanese Ruby hacker Masatoshi Seki in this first
English-language book on his own Distributed Ruby library. You’ll find
out about distributed computing, advanced Ruby concepts and techniques,
and the philosophy of the Ruby way—straight from the source.