IRTCClientPortManagement::StartListenAddressAndPort (Windows Embedded CE 6.0)
1/6/2010
This method specifies an IP address and port on which the RTC Client API can listen for incoming requests.
Syntax
HRESULT StartListenAddressAndPort(
BSTR bstrInternalLocalAddress,
long lInternalLocalPort
);
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 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 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
Header | rtccore.h, rtccore.idl |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
IRTCClientPortManagement
IRTCClientPortManagement::StopListenAddressAndPort