next up previous contents
Next: receive Up: Methods Previous: ioctl   Contents

listen

Description

Listens for incoming connection requests.


Syntax

socket.listen([value])


Parameters

value
Optional. Integer. Specifies the maximum length to which the queue of pending connections can grow. Valid range is from 1 to 5. The default value is 5.


Returns

Boolean




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.