1Net.connWaiting(3kaya) Kaya module reference Net.connWaiting(3kaya)
2
3
4
6 Net::connWaiting - Check for connections waiting on a socket.
7
9 Bool connWaiting( Int socket, Int timeout=0 )
10
12 socket A socket number returned from Net.listen (3kaya)
13
14
15 timeout The number of seconds to wait for a connection attempt before
16 timing out (defaults to zero)
17
19 Returns whether any connections are waiting on a socket opened with
20 Net.listen (3kaya)
21
22
24 Kaya standard library by Edwin Brady, Chris Morris and others
25 (kaya@kayalang.org). For further information see http://kayalang.org/
26
28 The Kaya standard library is free software; you can redistribute it
29 and/or modify it under the terms of the GNU Lesser General Public
30 License (version 2.1 or any later version) as published by the Free
31 Software Foundation.
32
34 Net.listen (3kaya)
35 Net.accept (3kaya)
36
37
38
39Kaya December 2010 Net.connWaiting(3kaya)