Listen Method

       

Creates a socket and sets it in listen mode. This method works only for TCP connections.

Syntax

object.Listen

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Arguments

None

Return Value

Void

Remarks

The ConnectionRequest event occurs when there is an incoming connection. When handling ConnectionRequest, the application should use the Accept method (on a new control instance) to accept the connection.