xHarbour Reference Documentation > Function Reference |
Evaluates a code block until a timeout period expires.
Netfunc( <bCodeblock> [, <nSeconds>] ) --> lSuccess
Note: specifying zero for <nSeconds> means "forever", i.e. there is no timeout period and the code block must yield .T. (true) for the function to return.
The return value is .T. (true) when the code block is successfully evaluated, otherwise .F. (false) is returnd.
NetFunc() is a generic network function which evaluates a code block and monitors a timeout period if the code block evaluates to .F. (false). The code block is repeatedly evaluated until either the timeout period expires or the code block returns .T. (true).
See also: | NetAppend(), NetFileLock(), NetRecLock() |
Category: | Database functions , Network functions , xHarbour extensions |
Source: | rtl\ttable.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com