IDccManSink2
The IDccManSink2 interface extends the IDccManSink interface to provide support for the new Internet Protocol (IP) standard, IP version 6 (IPv6). IPv6 replaces the previous version, IPv4.
Note The IDccManSink2 interface is designed for event notifications only and is executed by RAPI internal thread. Therefore, you should not make RAPI function calls other than CeRapiInitEx and CeRapiUninit from within the methods of the interface. A RAPI application should only call other RAPI functions from its own thread.
When to Implement
Implement this interface to receive and process notifications from Connection Manager that indicate when an IP address is established for communication between the desktop computer and the mobile device.
When to Use
Use this interface to take advantage of IPv6 when establishing communication between the desktop computer and the mobile device. This interface supports both IPv4 and IPv6.
Methods in Vtable Order
- IUnknown methods
- IDccManSink methods
IDccManSink2 method | PPC | SP | Description |
---|---|---|---|
OnLogIpAddrEx | X | X | Indicates that an IP address has been established for communication between the desktop computer and the mobile device. |
Remarks
The OnLogIpAddr method is available in this interface (through the IDccManSink inheritance), but it is triggered only when the device connects through IPv4. Therefore, applications should always use the OnLogIpAddrEx method, which recognizes both IPv4 and IPv6.
IPv6 was standardized by the Internet Engineering Task Force (IETF) in December 1998, in document RFC 2640.
Requirements
Pocket PC: Windows Mobile 2003 and later
Smartphone: Windows Mobile 2003 and later
OS Versions: Windows CE .NET 4.2 and later
Header: dccole2.h
See Also
Remote API Interfaces | IDccMan | IDccManSink | IDccManSink2
Send Feedback on this topic to the authors