meh..don't have the borland complier on this machine. Use the windows API's from teh platform SDK (msdn.microsoft.com) to make the calls.

Ip helper API:

http://msdn.microsoft.com/library/de..._ip_helper.asp