Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Nov : how to get the broadcast address
| Subject: | how to get the broadcast address |
| Posted by: | "Christopher" (chuahy..@163.com) |
| Date: | Thu, 3 Nov 2005 11:33:12 |
hi
1. is it possible to get the broadcast address based on the subnet mask and
ip address? If yes, what functions can i use?
2. I need to have an auto update program to as to check for an updated
software in the web server. Once downloaded, i need to rename the existing
file and close the existing program. After that i need to copy the updated
program to overwrite the existing program. Is there a way to ensure that the
existing program is closed completely? Is there a function to 'kill' the
program?
Thanks
Chris