CSocket.listen Method | |
Establish a socket to listen for an incoming connection.
Namespace:
VO
Assembly:
VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD listen(
nBackLog AS LONG
) AS LOGIC
public virtual bool listen(
int nBackLog
)
Request Example
View SourceParameters
- 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