IRTCClientPortManagement::StartListenAddressAndPort (Windows CE 5.0)

Send Feedback

This method specifies an IP address and port on which the RTC Client API can listen for incoming requests.

HRESULT StartListenAddressAndPort(BSTRbstrInternalLocalAddress,longlInternalLocalPort);

Parameters

  • bstrInternalLocalAddress
    [in] The internal local IP address on which the RTC Client API can listen.
  • lInternalLocalPort
    [in] The internal local port on which the RTC Client API can listen.

Return Values

This method can return an RTC_E_ constant.

The following table shows additional possible return values.

Value Description
E_FAIL The client is unable to create a listen socket for the address and port specified.
S_OK The listen socket has been created successfully.

Remarks

This method can be called multiple times to listen on more than one port.

Requirements

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

See Also

IRTCClientPortManagement | IRTCClientPortManagement::StopListenAddressAndPort

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.