1Sockets.recvBytes(3kaya) Kaya module reference Sockets.recvBytes(3kaya)
2
3
4
6 Sockets::recvBytes - Receive binary data from a socket
7
9 Binary recvBytes( Socket s, Int maxlen=1024, Int timeout=1000000 )
10
12 s The socket
13
14 maxlen The maximum number of bytes to receive. This must be a positive
15 integer (the default is 1024)
16
17 timeout The time to wait for data in microseconds before giving up (the
18 default is 1000000, or 1 second)
19
21 Receive binary data from a socket.
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 Binary.Binary (3kaya)
35 Sockets.Socket (3kaya)
36 Sockets.pending (3kaya)
37 Sockets.sendBytes (3kaya)
38 Sockets.recv (3kaya)
39 Sockets.recvByte (3kaya)
40
41
42
43Kaya December 2010 Sockets.recvBytes(3kaya)