Sockets.pending(3kaya) Kaya module reference Sockets.pending(3kaya)NAME
Sockets::pending - Check for pending data on a socket
SYNOPSIS
Bool pending( Socket s, Int timeout=1000000 )
ARGUMENTS
s The socket
timeout The time to wait (in microseconds) before returning false. This argument may be omitted for a default of 1000000 (1 second)
DESCRIPTION
Returns whether data is pending on 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.recv(3kaya)Sockets.recvByte(3kaya)Sockets.recvBytes(3kaya)Kaya October 2012 Sockets.pending(3kaya)
Check Out this Related 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)
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)
I'm working with recv and I am having a heck of a lot of trouble ignoring excess data that I did not ask for. I was hoping someone could shine some light on the subject for me because I'm not getting anywhere fast.
---------- Post updated at 02:46 AM ---------- Previous update was at 12:31 AM... (2 Replies)
Hello friends.
I have on file with following data
Jhon
Status: Form successfully submitted
Maria
Status:Form successfully submitted
Shyne
Status: Form submission pending.
Liken
Status:Form successfully submitted
David
Status:Form successfully submitted
Rich
Status: Form... (7 Replies)
I know the command "mailq" can be used to check any mail is pending , if I would like to get the alert if the no. of pending mail is over 500 , would advise what can I do , if a script can do that ? very thanks (1 Reply)
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)