Questions on IpRenewAddress ...

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
 
A

Arkady Frenkel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top