Forum: Ruby Neworking side of ruby

Posted by smoothedatol412 @gmail.com (smoothedatol412)
on 2012-06-26 00:24
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...
Posted by Jam (Guest)
on 2012-06-26 02:15
(Received via mailing list)
Ruby works well for this stuff. Check out the Gserver class.  It will 
get you a long way towards your goal.
Posted by Robert Klemme (robert_k78)
on 2012-06-26 11:33
(Received via mailing list)
On Tue, Jun 26, 2012 at 2:14 AM, Jam <jam@jamandbees.net> 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
Posted by smoothedatol412 @gmail.com (smoothedatol412)
on 2012-06-26 23:15
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.
Posted by smoothedatol412 @gmail.com (smoothedatol412)
on 2012-06-27 04:33
Are they any resources online about networking in ruby besides the IBM 
"Socket programming in ruby" and the docs on the ruby web site?
Posted by Dong-seob Park (Guest)
on 2012-06-27 05:07
(Received via mailing list)
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 <lists@ruby-forum.com>
Posted by Robert Klemme (robert_k78)
on 2012-06-27 10:03
(Received via mailing list)
On Tue, Jun 26, 2012 at 11:15 PM, smoothedatol412 @gmail.com
<lists@ruby-forum.com> 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
Posted by Graham Menhennitt (Guest)
on 2012-06-28 10:26
(Received via mailing list)
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 Thomas and Andy Hunt
called "The Socket API" is available online for free at
http://pragprog.com/book/ruby3/programming-ruby-1-9. I can thoroughly
recommend the rest of the book (not for free) too.

Graham
Posted by Shaun Lloyd (lloydie)
on 2012-06-29 09:37
(Received via mailing list)
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.

http://feeds.oreilly.com/~r/oreilly/ruby/~3/Fko7ZjVY5Es/
Posted by smoothedatol412 @gmail.com (smoothedatol412)
on 2012-07-01 08:46
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.