Chameleon and Iguana Plugin C# Class Libraries

LlpServer.StartListen Method 

Attempt to listen on the supplied port for incoming client connections.

[Visual Basic]
Public Sub StartListen( _
   ByVal Port As Integer _
)
[C#]
public void StartListen(
   int Port
);

Parameters

Port
Port to listen on.

Remarks

This function requires a running message loop (see RunMessageLoop) in order to receive connections.

Blocking: Function blocks until a port can be successfully listened on or an error occurs.
Throws: Function will throw an exception if the port is in use, or the operating system reports any other error.
Events: None.

By default, the listener will listen on all local interfaces. To make it listen on a specific local interface use the Host property to set the IP address of the interface to use.

See Also

LlpServer Class | iNTERFACEWARE.Chameleon Namespace