This interface defines one method to specify the interface used to allow network address translation (NAT) mappings. The RTC Client API supports the UPnP-enabled NATs by default. When a NAT is in place and does not support UPnP functionality, the application must use this interface to provide a pointer to the interface that will supply the NAT mappings when required.


The following table shows the methods for this interface in vtable order. This is the order in which the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method Description
SetPortManager Allows an application to specify a callback interface that allows the RTC Client API to obtain NAT mappings when required.

Obtaining a Pointer

This interface can be obtained by calling QueryInterface on the Session object that will obtain the NAT mappings. Currently, the RTC Client API supports using this interface only on sessions of type PC-to-phone.


OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

Communications Service | IUnknown | QueryInterface

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.