I'm not an expert with this kind of thing, but from my experience
I think you would need a server with a "static IP address". Eg, most
IP addresses on computers change every time you log on to the
internet because your internet provider gives you a new one each
time. If you get them to give you a static IP address that never
changes (which will probably cost money), then you can set your chat
program to log onto the server at that IP address each time.
So you would have a server that stores all the IP information about
each user, eg. when Bob signs in, his chat client sends his IP
information to the server and lets it know that he is logged on.
Then the server sends him back the information of who else is
online. Everyone else would also be sent a message that Bob is
online. Then when someone wants to start a chat session, the program
would retrieve the needed information from the server and would
then be able to start the chat.
I am probably wrong about a lot of the things there, but thats how
I think they work, you might want to check on google or something
for more information.
Hope that helps.
danielp
danielp
Email - thegamecreators@danielp.e4ward.com
My Specs - 2047MB RAM | P4 3.4GHz | XP 5.1.2600 SP2 | GeForce 6800 256MB | Dell 230310 1600x1200 34x27cm