|
-
Sep 3rd, 2002, 06:01 PM
#1
Thread Starter
Hyperactive Member
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?????
-
Sep 4th, 2002, 07:06 AM
#2
Addicted Member
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)
-
Sep 9th, 2002, 03:54 AM
#3
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|