Results 1 to 5 of 5

Thread: Multi Server Multi Client Chat Application

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Multi Server Multi Client Chat Application

    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.
    Attached Files Attached Files


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Multi Server Multi Client Chat Application

    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
    Attached Files Attached Files


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Multi Server Multi Client Chat Application

    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.

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Multi Server Multi Client Chat Application

    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.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Multi Server Multi Client Chat Application

    Version 2 (Post 2) has been updated to correct a problem - use link from post 2


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width