1Net.recvBytes(3kaya) Kaya module reference Net.recvBytes(3kaya)
2
3
4
6 Net::recvBytes - Recieve binary data from a connection.
7
9 Binary recvBytes( NetHandle h, Int maxlen=1024, Int timeout=0 )
10
12 h The connection
13
14 maxlen The maximum number of bytes to read. This argument must be a
15 positive integer
16
17 timeout The number of microseconds to wait without input before timing
18 out. The default is zero.
19
21 Reads up to maxlen bytes from the connection as binary data, and times
22 out after timeout microseconds. This function does not yet support TLS
23 connections.
24
26 Kaya standard library by Edwin Brady, Chris Morris and others
27 (kaya@kayalang.org). For further information see http://kayalang.org/
28
30 The Kaya standard library is free software; you can redistribute it
31 and/or modify it under the terms of the GNU Lesser General Public
32 License (version 2.1 or any later version) as published by the Free
33 Software Foundation.
34
36 Binary.Binary (3kaya)
37 Net.NetHandle (3kaya)
38 Net.accept (3kaya)
39 Net.connect (3kaya)
40 Net.microPending (3kaya)
41 Net.microRecv (3kaya)
42 Net.pending (3kaya)
43 Net.recv (3kaya)
44 Net.recvByte (3kaya)
45 Net.send (3kaya)
46
47
48
49Kaya December 2010 Net.recvBytes(3kaya)