Welcome to the forum Abah.
Well for starters I would structure your main (SERVER SIDE) database as followed:
TABLENAME: name_of_your_messenger
FIELDS: username, password, email, name, age, country, last_login, status
Status will be one of your most important fields to prevent multiple users from loggin into the same account.
If you plan to keep a history of chat logs you will need a second table Chat_Logs and will need to add a primary key for each user in your main name_of_your_messenger database. In the Chat_Logs database you would need the following fields: user_id, receiver_id, timestamp, message
For the client side registry keys I would use:
REGKEY: hkey_localmachine/software/name_of_your_messenger
REGKEY: hkey_localmachine/software/name_of_your_messenger/username
Under each username key I would have a password and port key.
I've never written an instant messenger system but if I were to try, this is the first structure that comes to mind.
Last edited by SyntaXmasteR; 05-29-2008 at 11:25 AM.
[url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
[url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
[url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
--------------------------------
[URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
[URL=http://www.syntax******.info]Comming Soon[/URL]