What do you need exactly?In a socket connection you can accept as much datas as you want.If you can't store the datas into memory then you may consider some external database like DB_File,Mysql etc. -- http://home.arcor.de/jeffpang/