Questions on IpRenewAddress ...

  • Thread starter Thread starter Polaris
  • Start date Start date
P

Polaris

Hi Experts:

I'm using IPHelper API under Windows XP. I have a few questions on
IpRenewAddress:

(1). Will this call change the contents of the current routing table?

(2). When I call this function on one adapter, the other adapter disappeared
as shown by results from ipconfig and GetAdaptersInfo, any hint why?

(3). Is there any negative effect if call this function without calling
IpReleaseAddress first?

(4). Is this function a blocking call? If not, how should I check
programmatically if the adapter has assigned a new lease?

Thanks in advance!
Polaris
 
Hi!
Blocking/non-blocking ( really in windows that synch/asynch ) can be
operation on socket but not API of such kind. If that whould be async
operation that would demand event handle to fire event on finish.
IpRenewAddress is ordinary synch API and don't need IpReleaseAddress before
AFAIK
Arkady
 
Back
Top