1Net.pending(3kaya)           Kaya module reference          Net.pending(3kaya)
2
3
4

NAME

6       Net::pending - Return whether data is waiting at a socket.
7

SYNOPSIS

9       Bool pending( NetHandle h, Int timeout=5 )
10

ARGUMENTS

12       h The connection
13
14       timeout  The  number  of  seconds  to  wait  for data before timing out
15       (defaults to five)
16

DESCRIPTION

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

AUTHORS

22       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
23       (kaya@kayalang.org). For further information see http://kayalang.org/
24

LICENSE

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.microPending (3kaya)
34       Net.microRecv (3kaya)
35       Net.recv (3kaya)
36
37
38
39Kaya                             December 2010              Net.pending(3kaya)
Impressum