Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sockets.recvbytes(3kaya) [debian man page]

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

Sockets.recv(3kaya)					       Kaya module reference					       Sockets.recv(3kaya)

NAME
Sockets::recv - Receive text data from a socket SYNOPSIS
String recv( Socket s, Int maxlen=-1, 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), or -1 for no limit. Note that if the data to be received contains multi-byte characters, care must be taken to avoid ending receiving part-way through a multi-byte character. timeout The time to wait for data in microseconds before giving up (the default is 1000000, or 1 second). -1 can be used to wait until data arrives. DESCRIPTION
Receive text 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
Sockets.Socket(3kaya) Sockets.pending(3kaya) Sockets.send(3kaya) Sockets.recvByte(3kaya) Sockets.recvBytes(3kaya) Kaya October 2012 Sockets.recv(3kaya)
Man Page

11 More Discussions You Might Find Interesting

1. Solaris

Sockets in use

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)
Discussion started by: kjbaumann
1 Replies

2. Programming

Using Cygwin, how do I make eclipse recognize C's Socket library?

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)
Discussion started by: wannabeTekkie
4 Replies

3. Shell Programming and Scripting

Binary or ascii file

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)
Discussion started by: u263066
6 Replies

4. UNIX for Dummies Questions & Answers

Binary file

How can we see the contents of a binary file? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

5. Programming

Socket++ library problem.

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)
Discussion started by: lock.cda
4 Replies

6. IP Networking

Raw Sockets Programming

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)
Discussion started by: Sandia_man
4 Replies

7. AIX

Sockets in Aix

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)
Discussion started by: senmak
6 Replies

8. Shell Programming and Scripting

Binary files

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)
Discussion started by: rahulkav
4 Replies

9. AIX

entstat output "Receive Errors"

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)
Discussion started by: sam_78_nyc
3 Replies

10. UNIX for Advanced & Expert Users

How to parse a binary file?

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)
Discussion started by: Ophiuchus
15 Replies

11. Shell Programming and Scripting

Hexadecimal to Binary conversion

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)
Discussion started by: Indra2011
6 Replies

Featured Tech Videos