Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

Net.recvByte(3kaya)					       Kaya module reference					       Net.recvByte(3kaya)

NAME
Net::recvByte - Recieve data from a connection. SYNOPSIS
Int recvByte( NetHandle h, Int timeout=0 ) ARGUMENTS
h The connection timeout The number of microseconds to wait without input before timing out. The default is zero. DESCRIPTION
Reads a single byte from the connection, 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
Net.NetHandle(3kaya) Net.accept(3kaya) Net.connect(3kaya) Net.microPending(3kaya) Net.microRecv(3kaya) Net.pending(3kaya) Net.recv(3kaya) Net.recvBytes(3kaya) Net.send(3kaya) Kaya October 2012 Net.recvByte(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. Programming

Programming Sockets to Reconnect

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)
Discussion started by: raistie
2 Replies

4. 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

5. 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

6. Shell Programming and Scripting

Perl and Sockets - Error handling

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)
Discussion started by: Hollinch
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. Programming

How can I tell when recv is finished with pending data?

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)
Discussion started by: Errigour
2 Replies

9. Shell Programming and Scripting

Want to separate one string

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

10. UNIX for Dummies Questions & Answers

Check no. of mailqueue

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

11. Programming

UNIX network programming execution problem

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

Featured Tech Videos