.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "Net.recvBytes" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" Net::recvBytes \- Recieve binary data from a connection. .SH "SYNOPSIS" .B Binary recvBytes( \fINetHandle h, Int maxlen=1024, Int timeout=0\fP .B ")" .SH "ARGUMENTS" .PP .B "h" The connection .PP .B "maxlen" The maximum number of bytes to read. This argument must be a positive integer .PP .B "timeout" The number of microseconds to wait without input before timing out. The default is zero. .SH "DESCRIPTION" .PP Reads up to \fImaxlen\fP bytes from the connection as binary data, and times out after \fItimeout\fP microseconds. This function does not yet support TLS connections. .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .B "Binary.Binary"(3kaya) .PP .B "Net.NetHandle"(3kaya) .PP .B "Net.accept"(3kaya) .PP .B "Net.connect"(3kaya) .PP .B "Net.microPending"(3kaya) .PP .B "Net.microRecv"(3kaya) .PP .B "Net.pending"(3kaya) .PP .B "Net.recv"(3kaya) .PP .B "Net.recvByte"(3kaya) .PP .B "Net.send"(3kaya) .PD 0.4v