1Sockets.recv(3kaya)          Kaya module reference         Sockets.recv(3kaya)
2
3
4

NAME

6       Sockets::recv - Receive text data from a socket
7

SYNOPSIS

9       String recv( Socket s, Int maxlen=-1, Int timeout=1000000 )
10

ARGUMENTS

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), or -1 for no limit.  Note  that  if  the
16       data  to be received contains multi-byte characters, care must be taken
17       to avoid ending receiving part-way through a multi-byte character.
18
19       timeout The time to wait for data in microseconds before giving up (the
20       default  is  1000000,  or  1 second). -1 can be used to wait until data
21       arrives.
22

DESCRIPTION

24       Receive text data from a socket.
25

AUTHORS

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

LICENSE

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       Sockets.Socket (3kaya)
38       Sockets.pending (3kaya)
39       Sockets.send (3kaya)
40       Sockets.recvByte (3kaya)
41       Sockets.recvBytes (3kaya)
42
43
44
45Kaya                             December 2010             Sockets.recv(3kaya)
Impressum