Xbasic
INET::Socket::SetOptions Method
Syntax
Result_Flag as L = SetOptions(Options as C)
Arguments
- Result_Flag
TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).
- Options
Options may include any combination of the following.
- [-]L - Linger
- K - Keep Alive
- R - Reuse Address
- N - Don't route
- [-]D - Delay
- X - Debug
- I=# - Receive buffer size
- O=# - Send buffer size
- T=# - Timeout
- TS=# - Send timeout
- TR=# - Receive timeout
Description
The INET::Socket::SetOptions() method sets one or more options in a single call.
See Also