From: Jan Svitok Date: 2006-10-17T07:46:59+09:00 Subject: Re: A basic chat program On 10/17/06, Michael Hall wrote: > Okay I'm looking to make a basic chat program that I can connect to via > telnet for learning purposes. > > I want a user to connect then login in or be able to create a new user, > new users would be saved as files. then when they're in the program they > can talk on different channels by typing "channel1 " or > "channel2 " etc. Also I'd like to put the code in different > files i.e. connection/login/user create code in one file, the > channel/talk functions in another and in a third file a list of the > commands that can be typed pointing to the function name (like > {" listed there it will find the correct function and run it) I need help > on how to go about this, psuedo code, code examples etc. Have a look at Socket::TCPServer in stdlib. That would be the base for your server.