From: Shannon Fang Date: 2002-12-14T00:20:29+09:00 Subject: TCP Server Hi, I am learning how to use Ruby to write a TCP Server. I used the sample code in PickAxe, it worked fine, but I have no idea how I can let the program connect more than one client? Do I need to use thread? Can anyone show me how to do this by writing a echo server which can connect multiple clients? And is there events like "on_connect" "on_disconnect" available in ruby? Thanks a lot. Shannon _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus