Home All Groups Group Topic Archive Search About

Questions on IpRenewAddress ...

Author
21 Sep 2006 3:25 AM
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

Author
21 Sep 2006 7:29 AM
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

Show quoteHide quote
"Polaris" <etpola***@hotmail.com> wrote in message
news:uqwYh2S3GHA.2228@TK2MSFTNGP03.phx.gbl...
> 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
>