1Net.microPending(3kaya) Kaya module reference Net.microPending(3kaya)
2
3
4
6 Net::microPending - Return whether data is waiting at a socket.
7
9 Bool microPending( NetHandle h, Int timeout=100 )
10
12 h The connection
13
14 timeout The number of microseconds to wait for data before timing out
15 (defaults to 100)
16
18 Return whether data is waiting at a socket, returning true if so, and
19 returning false if there is still no data after the timeout period.
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
32 Net.NetHandle (3kaya)
33 Net.microRecv (3kaya)
34 Net.pending (3kaya)
35 Net.recv (3kaya)
36
37
38
39Kaya December 2010 Net.microPending(3kaya)