Partager via


IRTCPortManager:IUnknown (Windows CE 5.0)

Send Feedback

This interface represents the RTC Port Manager for network address translation (NAT) mappings. For each media type, the methods of this interface provide an IP address and port pair. The application must supply a pointer to this interface to the RTC Client API using the IRTCSessionPortManagement::SetPortManager method.

Note   Any calls to the IRTCPortManager methods must be processed in a timely fashion. Long delays can cause the session to fail due to a timeout. The port manager is strongly recommended to have port mappings ready before the application starts or accepts a session. If the port mappings are not available when an incoming session event is received (RTCSS_INCOMING), the application is recommended to return a failure code. The IRTCPortManager methods must not directly or indirectly call any RTC Client API.

Methods

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
GetMapping Retrieves internal and external (on the NAT) IP addresses and port mappings when given a remote address and port type for the port.
UpdateRemoteAddress Informs the application that the remote address has been updated.
ReleaseMapping Informs the application that NAT mapping is no longer required.

Requirements

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

See Also

RTC Client API Interfaces | IRTCSessionPortManagement::SetPortManager | IUnknown

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.