Results 1 to 3 of 3

Thread: Best Way to do this....

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2002
    Location
    USA
    Posts
    432

    Unhappy Best Way to do this....

    Ok i want to add a update Program feature to my program so it will connect to my server and check for an update what is the easyet way to do this and to install the update?????

  2. #2
    Addicted Member Nigh™a®e's Avatar
    Join Date
    Feb 2002
    Location
    Belgium
    Posts
    175
    Create an webserver that responses to the client if an update is available or not,

    Else use sockets.
    Create a listener on your server, and let the client connect to see if new updates are available.

    For the socket sollution, just check the MultiSocket provided with Visaul Studio .NET
    It also shows how you can thread the incomming checks.

    The example is exactly what you need i think.

    The client connects to server, send data string and waits for response, then disconnect.

    Let your client send an update command to the server, and let the server reply a simple result like the url where the client can download the update, or just send the update trough the open socket.

    For more info mail me or send me icq message
    (dont mail to [email protected] < web & mailserver are currently down)

  3. #3
    Junior Member
    Join Date
    Sep 2002
    Location
    Belgium
    Posts
    16
    OK,

    I see what you're saying and it's all logical. I have 2 additional questions:

    (1) do you have an example on how to "send the update through the open socket"?

    (2) how do you package the application so it can be downloaded and upgraded in this way -- and can the update be done fully automatic without interaction with the user?

    Thanks and regards.

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