The sixth annual Conference will be
February 8, 2014
Workshops will be held
February 6 and 7
$199 Early Bird Pricing!
ends January 21, 2014
$249.00 Standard after

See Workshops page for pricing

TCP Sockets programming in Ruby
TCP Sockets programming in Ruby
As Ruby developers, a lot of the time we're building applications that rely on some sort of network connection. Due to Ruby's great abstractions we take most of the network related stuff for granted. We think we know how all of that works, but do we? Let's go over the fundamentals together, learn about how Ruby models TCP Sockets and how we can make a good use of it. Even if you're not doing network programming, being able to dive multiple levels to understand what's going on will give you a great advantage. The sort of concepts we'll go over this talk don't apply to Ruby only. All modern languages support the Berkeley Sockets API so this knowledge is portable and it will serve you for many years to come. The first part of the talk is about going through the fundamentals of programming with sockets. This includes creating sockets, client and server life-cycle, reading and writing data, doing socket timeouts in Ruby and SSL sockets. The last part of the talk is all about applying those concepts to a real world problem by writing a web server.
Votes: 20
Target Audience: Intermediate level Ruby developers
Submitted: December 03, 2013 @ 08:19:06 am UTC
Last updated: December 30, 2013 @ 03:49:20 am UTC