next up previous contents
Next: close Up: Methods Previous: asyncSelect   Contents

bind

Description

Associates a local address with the socket


Syntax

socket.bind(port[, address])


Parameters

port
Integer. Specifies the port to bind.
address
Optional. String. Specifies the network address (a dotted number such as "219.138.64.12") to bind.


Returns

Boolean.




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