Partager via


IRTCClientPortManagement::StopListenAddressAndPort (Windows Embedded CE 6.0)

1/6/2010

This method specifies an IP address and port on which the RTC Client API should stop listening for incoming requests.

Syntax

HRESULT StopListenAddressAndPort(
  BSTR bstrInternalLocalAddress,
  long lInternalLocalPort
);

Parameters

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

Return Value

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 stop the listen socket for the address and port specified.

S_OK

The listen socket has been stopped.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCClientPortManagement
IRTCClientPortManagement::StartListenAddressAndPort