|
-
Feb 16th, 2001, 07:11 AM
#1
Well this is where brains have to be put to work.
(Some people dont have them and ask stupid questions).
I'm not going to give you any code sample but I'll tell you a way to implement it.
Well first of all you have to put up a server having a socket connection availble ALL THE TIME.
Now when the client side program executes and if connected, it will connect to the server's IP address
and socket number finding out if a update is available. If so, the file can be transfered. (using winsock)
If you dont have a permanent IP address for that server
you should then you must have access to a web server. Use the inet control to post the server's ip address to a .dat file located on the server. The client side application will then first retrieve that IP address and open a socket connection with it and do whatsoever.
If you only have a web server, you can simply post the new version of the application with a .dat file giving it's version and date.
Then whenever the client - side program runs, it simply reads that .dat file and see if an update is required. (using inet)
If an update is nesseary, again using inet, download that file and install the new files
Bye,
(hope he understands)
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
|