Click or drag to resize

CSocket.listen Method

X#
Establish a socket to listen for an incoming connection.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD listen(
	nBackLog AS LONG
) AS LOGIC
Request Example View Source

Parameters

nBackLog
Type: Long
The maximum length to which the queue of pending connections can grow.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
This method establishes a socket to listen for an incoming connection.
Examples
See the CSocket:Accept() example.
See Also