Sockets.recvByte(3kaya) Kaya module reference Sockets.recvByte(3kaya)NAME
Sockets::recvByte - Receive a single byte from a socket
SYNOPSIS
Int recvByte( Socket s, Int timeout=1000000 )
ARGUMENTS
s The socket
timeout The time to wait for data in microseconds before giving up (the default is 1000000, or 1 second)
DESCRIPTION
Receive a single byte 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.sendByte(3kaya)Sockets.recv(3kaya)Sockets.recvBytes(3kaya)Kaya October 2012 Sockets.recvByte(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)
Hello everyone,
I'm very interested in sockets programming
for developing games.
Right now i'm trying to develop a client,
and connecting to a host and port can be done,
but i googled lots of pages,
but i could not find how to reconnect
to the host/port if the connection is somehow... (2 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)
Hello all,
I have created a Perl script that tries to open connections to various systems on different ports in order to see if the machines are reachable, the ports are open, etc.
There appears to be a difference between Solaris (10) and Linux (RH/Oracle and Ubuntu) in the status or error it... (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,
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)
I have started reading the book Unix Network Programming, Volume 1: The Sockets Networking API. I downloaded all the source code and performed all the steps present in README file.Now when i compile my first program it give the following error.
sainandan@nandan:~/unpv13e/intro$ ./daytimetcpcli... (1 Reply)