Sockets.recvBytes(3kaya) Kaya module reference Sockets.recvBytes(3kaya)NAME
Sockets::recvBytes - Receive binary data from a socket
SYNOPSIS
Binary recvBytes( Socket s, Int maxlen=1024, Int timeout=1000000 )
ARGUMENTS
s The socket
maxlen The maximum number of bytes to receive. This must be a positive integer (the default is 1024)
timeout The time to wait for data in microseconds before giving up (the default is 1000000, or 1 second)
DESCRIPTION
Receive binary data from a socket.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/
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.
RELATED Binary.Binary(3kaya)Sockets.Socket(3kaya)Sockets.pending(3kaya)Sockets.sendBytes(3kaya)Sockets.recv(3kaya)Sockets.recvByte(3kaya)Kaya October 2012 Sockets.recvBytes(3kaya)
Check Out this Related Man Page
Net.recvBytes(3kaya) Kaya module reference Net.recvBytes(3kaya)NAME
Net::recvBytes - Recieve binary data from a connection.
SYNOPSIS
Binary recvBytes( NetHandle h, Int maxlen=1024, Int timeout=0 )
ARGUMENTS
h The connection
maxlen The maximum number of bytes to read. This argument must be a positive integer
timeout The number of microseconds to wait without input before timing out. The default is zero.
DESCRIPTION
Reads up to maxlen bytes from the connection as binary data, and times out after timeout microseconds. This function does not yet support
TLS connections.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/
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.
RELATED Binary.Binary(3kaya)Net.NetHandle(3kaya)Net.accept(3kaya)Net.connect(3kaya)Net.microPending(3kaya)Net.microRecv(3kaya)Net.pending(3kaya)Net.recv(3kaya)Net.recvByte(3kaya)Net.send(3kaya)Kaya October 2012 Net.recvBytes(3kaya)
Is there a way to see what sockets are in use? The developers here are getting some defunct processes and they would like to get a socket list.
This is on a Solaris 8 machine.
Thanks! (1 Reply)
Hi,
I am trying to develop a simple program that uses Sockets. I have a windows machine and MUST use C++. I found out that I can use C's Socket (#include <sys/socket.h>) API calls, but this is only possible on a unix machine. So I installed Cygwin to imitate a unix environment on my windows... (4 Replies)
I want to verify the file is Binary or ascii file and accordingly I want to switch the program with ret code
ie 0 or success and 1 for failure
Can any one help me is this a correct syntex...i am getting error
#!/bin/ksh
$file filename
if
echo "ascii fie Found"
else
echo " binary... (6 Replies)
Hi,
My name is Daniel and I'm spanish, so I'm sorry if you can't undertand something becouse of my low-level english.
Something stranger is happening to me with socket++ library and I don't know how to work on it.
I has a library called commands.so and the sslclient is and object of that... (4 Replies)
Hi everybody!!
I'm studding at the university raw sockets, but i can't find a good place to read about them...
Does anybody now where i can find some information???
I've been goggling a lot but couldn't find nothing useful, just man pages...
by the way, I'm programming under Linux...
Bye! (4 Replies)
HI friends
how to find the no sockets in the aix box am using the P520
Please help it.In the prtconf am getting no of physical processor 1 and in the bindprocessor -q am getting 0 1
Please help it am not able to understand exactly
mak (6 Replies)
Hi All,Is there anyway I can conver the binary file to ascii. I don't know the binary file format. file command just lists this as "data" file and when I view it has a lot of non-printable characters.Can I write any command equivalent to wc -l to find out the number of rows in the file?Can I use... (4 Replies)
Hi all,
We are receiving huge number of "Receive Errors" on our database server on AIX. Any pointers to troubleshoot would be really appreciated.
oslevel:
AIX 5.3.0.0
ifconfig -a
en6: flags=4e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,PSEG,LARGESEND,CHAIN>
... (3 Replies)
Hello to all in forum,
Please your help with this.
I have a binary file that is represented in Binary or Binary Coded Decimal (BCD).
Do you know a parser for this kind of binary files?
I have the structure format, but I don't know how and where to begin.
You answer would be very... (15 Replies)
Hi Guys,
Is it possible to convert the hexadecimal to Binary by unix command.....I could not figure out....
If I need to convert AF6D to binary...what could be the way to do?
Thanks in advance!!
---------- Post updated at 02:57 AM ---------- Previous update was at 02:42 AM ----------
I... (6 Replies)