This is my 1st attempt at creating a multi-server multi-client chat application.
Note: ServerA must be running otherwise Chat Servers will not launch.
Printable View
This is my 1st attempt at creating a multi-server multi-client chat application.
Note: ServerA must be running otherwise Chat Servers will not launch.
This is Version 2
Version 2 is the same as Version 1 except for the following changes:
1) ServerA now accepts Case 110 so Chat servers can re-connect in the event ServerA goes down
2) Chat server sets up a timer loop trying to re-connect to ServerA. This loop continues
until either Chat server is closed or ServerA comes back up again.
When ServerA comes back up, Chat server sends ServerA it's server number, client port number
and a list of current users still connected. Chat server sends message to Case 110
Other than the above 2 no other changes have been made
Not sure if you remember me from years ago, but nice work! I love client/server programming so I always enjoy looking at projects such as yours.
Of course I remember you. I have a lot of your client/server examples in my collection and in fact your are probably my protege as I learned much from you especially multi-client/server applications.
Thanks for the reply.
Version 3 is coming soon.
Version 2 (Post 2) has been updated to correct a problem - use link from post 2