Starts listening on the specified address and port.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
StartListening ( _
	
ipEndpoint 
As 
IPEndPoint _
)
C#
public 
void 
StartListening(
	
IPEndPoint 
ipEndpoint
)
Visual C++
public:
void 
StartListening(
	
IPEndPoint^ 
ipEndpoint
)
JavaScript
function 
startListening(
ipEndpoint);

Parameters

ipEndpoint
Type: IPEndPoint
The IP endpoint to be used for listening.

Exceptions

Exception Condition
InvalidOperationException Thrown when the connection manager is already listening, or no interface is available.
Microsoft.Rtc.Signaling . . :: . ConnectionFailureException Thrown when unable to listen.

See Also