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...
on 2012-06-26 00:24
on 2012-06-26 02:15
Ruby works well for this stuff. Check out the Gserver class. It will get you a long way towards your goal.
on 2012-06-26 11:33
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
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.
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?
on 2012-06-27 05:07
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>
on 2012-06-27 10:03
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
on 2012-06-28 10:26
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
on 2012-06-29 09:37
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/
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
Log in with Google account | Log in with Yahoo account
No account? Register here.