Emanuele Bizzarri wrote:
> Hi Francois,
> thank you for your response.
> In the meanwhile, I also have found NotifyAddrChange function.
> It is already wrapped inside JwaIpHlpApi by jedi project.
> 
> For now I'm using network interface polling.

Check out the IPv6 branch, SVN rev. #888, since ICS IPv6 uses winsock2 these
new events could be added:
IPv6 TWSocket Windows - Added events OnAddressListChanged and 
OnRoutingInterfaceChanged.
Assigning event handlers to those properties before a call to methods Connect 
or Listen ensures that the event notifications are registered and events are 
triggered when they occur.
Assigning handlers to those properties after Connect or Listen (if new 
ComponentOptions wsoNotifyAddressListChange or wsoNotifyRoutingInterfaceChange 
are _not set) requires an additional call to new methods 
SetAddressListChangeNotification and/or SetRoutingInterfaceChangeNotification 
in order to receive those notifications. 
Note that once one of these events triggered it has to be re-enabled, they are 
edge-triggered. 

svn://svn.overbyte.be/ics/branches/icsipv6
Use username = ics and password = ics for read access

-- 
Arno Garrels

> 
> Bye
> 
> 
> 
> ----- Messaggio originale -----
> Da: "François Piette" <francois.pie...@skynet.be>
> A: "ICS support mailing" <twsocket@elists.org>
> Inviato: Venerdì, 3 febbraio 2012 18:37:02
> Oggetto: Re: [twsocket] udp server and network configuration changes
> 
>> There is a way to recognize networks changes like these?
> 
> Have a look at IP Helper API:
> http://msdn.microsoft.com/en-us/library/aa366329(VS.85).aspx
> 
> 
> --
> francois.pie...@overbyte.be
> The author of the freeware multi-tier middleware MidWare
> The author of the freeware Internet Component Suite (ICS)
> http://www.overbyte.be
> 
> 
> 
> 
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to