Talk: Networking in Ruby @GA
Tonight I gave a talk at General Assembly on making a decentralized chat server in Ruby. I wanted to talk on something that wasn't web development as we webdevs tend to get caught up in making everything an http request. GA was a wonderful host (Thank you Mercedes!) and afterwards everyone at the talk was awesome to talk to.
Thanks to one helpful audience member for digging up RFC1. It's a cool read if you're into history of computers and networkings. It's amazing to see how this is a precursor for what TCP is today.
Information is transmitted from HOST to HOST in bundles called messages. A message is any stream of not more than 8080 bits, together with its header. The header is 16 bits and contains the following information:
And the code can be found below! If people want to add their gists of the the timestamp and flood control modifications I saw, please do so on the gist's page!
Thanks again for a good night!