Xbasic
INET::Socket::Listen Method
Syntax
Result_Flag as L = Listen(Port as N [, Host = as C, [, ReuseAddress = .f. as L [, BacklogSize as N]]])
Arguments
- Result_Flag
TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).
- Port
Numeric
- Host =
Optional. Default = "".
- ReuseAddress = .f.
Optional. Default = .F. .
- BacklogSize
Numeric
Description
The INET::Socket::Listen() method opens a socket to listen for incoming requests.
See Also