The Elite Noob has asked for the wisdom of the Perl Monks concerning the following question:
Now. I would like to create a client and server chatting system using IO::Socket. The system is for a small closed network of about 30 computers all running Windows XP. They are networked using a switch. The IP's are dynamic, so we can't keep a lock on any IP per computer.
Now i want to do a chatting system like, so the server is always hosted on a certain user's account. Then the client finds the IP address of that user and connects to that. The server should be able to connect at one time 30 separate people using TCP. Then when a client sends a message to a server, it should have a timestamp. Then the server sends the message out to all of the clients in the correct order. The clients are to then display the message. It should be really effective way and really easy to implement
I have no idea where to start and help is appreciated. Thanks again for the theory and any examples :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating a messenger system using sockets and tcp protocol.
by atcroft (Abbot) on Mar 23, 2011 at 02:44 UTC | |
|
Re: Creating a messenger system using sockets and tcp protocol.
by trwww (Priest) on Mar 23, 2011 at 04:53 UTC | |
by Anonymous Monk on Mar 23, 2011 at 17:00 UTC | |
|
Re: Creating a messenger system using sockets and tcp protocol.
by zentara (Cardinal) on Mar 23, 2011 at 13:49 UTC | |
|
Re: Creating a messenger system using sockets and tcp protocol.
by Anonymous Monk on Mar 23, 2011 at 00:52 UTC | |
by The Elite Noob (Sexton) on Mar 23, 2011 at 01:10 UTC | |
by Anonymous Monk on Mar 23, 2011 at 01:34 UTC | |
by The Elite Noob (Sexton) on Mar 23, 2011 at 01:41 UTC |