|
Re: Chating application
This is a neat little chat application, but I have a few suggestions to improve it:
1) Have client check 'host' and 'nickname' fields before it tries to connect, and you may also want to check for garbage input.
2) Find some way to keep track of nicknames. When someone tries to enter the room, have the server check the nickname to see if someone with that nickname is already in the room - this will prevent having two users with the same name.
3) A central server would work better for an application such as this. I have found this method to be more stable. I have one built in C if your interested (not VB, but it might
still be compatible).
4) Incorporate some type of simple protocol into this bugger. This will prevent any unwanted programs from randomly entering your chatroom and wreaking havoc.
5) Need more feedback from the server when connecting. Was connection successful? If not, tell the user that
All in All, this is a neat little chat program, and with a little development, could turn out pretty good.
Brent
|