1Sockets.pending(3kaya) Kaya module reference Sockets.pending(3kaya)
2
3
4
6 Sockets::pending - Check for pending data on a socket
7
9 Bool pending( Socket s, Int timeout=1000000 )
10
12 s The socket
13
14 timeout The time to wait (in microseconds) before returning false. This
15 argument may be omitted for a default of 1000000 (1 second)
16
18 Returns whether data is pending on a socket
19
21 Kaya standard library by Edwin Brady, Chris Morris and others
22 (kaya@kayalang.org). For further information see http://kayalang.org/
23
25 The Kaya standard library is free software; you can redistribute it
26 and/or modify it under the terms of the GNU Lesser General Public
27 License (version 2.1 or any later version) as published by the Free
28 Software Foundation.
29
31 Sockets.Socket (3kaya)
32 Sockets.recv (3kaya)
33 Sockets.recvByte (3kaya)
34 Sockets.recvBytes (3kaya)
35
36
37
38Kaya December 2010 Sockets.pending(3kaya)