1Net.microRecv(3kaya) Kaya module reference Net.microRecv(3kaya)
2
3
4
6 Net::microRecv - Recieve data from a connection.
7
9 String microRecv( NetHandle h, Int maxlen=-1, Int microtimeout=0 )
10
12 h The connection
13
14 maxlen The maximum number of bytes to read (or unlimited, if negative).
15 For TLS connections, this is always unlimited.
16
17 timeout The number of microseconds to wait without input before timing
18 out. The default is zero. For TLS connections, this parameter is
19 ignored.
20
22 Reads up to maxlen bytes from the connection, and times out after time‐
23 out microseconds. Apart from the units the timeout is measured in, this
24 is otherwise identical to Net.recv (3kaya)
25
27 Kaya standard library by Edwin Brady, Chris Morris and others
28 (kaya@kayalang.org). For further information see http://kayalang.org/
29
31 The Kaya standard library is free software; you can redistribute it
32 and/or modify it under the terms of the GNU Lesser General Public
33 License (version 2.1 or any later version) as published by the Free
34 Software Foundation.
35
37 Net.NetHandle (3kaya)
38 Net.accept (3kaya)
39 Net.connect (3kaya)
40 Net.microPending (3kaya)
41 Net.pending (3kaya)
42 Net.recv (3kaya)
43 Net.send (3kaya)
44
45
46
47Kaya December 2010 Net.microRecv(3kaya)