From: Glen Holcomb Date: 2008-04-15T22:55:14+09:00 Subject: Re: help need in chat client/server ------=_Part_35358_28955905.1208267711290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline HadsS, Here are a couple of pieces on threading in Ruby: http://www.rubycentral.com/pickaxe/tut_threads.html http://corelib.rubyonrails.org/classes/Thread.html Hopefully this will help if you want to go in the thread direction, it is what I would do but I come from a C background. On Tue, Apr 15, 2008 at 5:52 AM, Jano Svitok wrote: > On Mon, Apr 14, 2008 at 7:25 PM, HadsS wrote: > > Hey... > > Im new to this network programmin and I need help with this code i > > copied and changed a little. > > this is a client/server chat.. > > ... > > Did you try EventMachine? Once I wrote a TCP echo server under 30 minutes > (without any previous knowledge of EM, and this includes installation > of EM and reading its docs). Really nice. > > J. > > -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_35358_28955905.1208267711290--