Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

NAME
Net::pending - Return whether data is waiting at a socket. SYNOPSIS
Bool pending( NetHandle h, Int timeout=5 ) ARGUMENTS
h The connection timeout The number of seconds to wait for data before timing out (defaults to five) DESCRIPTION
Return whether data is waiting at a socket, returning true if so, and returning false if there is still no data after the timeout period. 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.microPending(3kaya) Net.microRecv(3kaya) Net.recv(3kaya) Kaya October 2012 Net.pending(3kaya)

Check Out this Related Man Page

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

NAME
Net::microRecv - Recieve data from a connection. SYNOPSIS
String microRecv( NetHandle h, Int maxlen=-1, Int microtimeout=0 ) ARGUMENTS
h The connection maxlen The maximum number of bytes to read (or unlimited, if negative). For TLS connections, this is always unlimited. timeout The number of microseconds to wait without input before timing out. The default is zero. For TLS connections, this parameter is ignored. DESCRIPTION
Reads up to maxlen bytes from the connection, and times out after timeout microseconds. Apart from the units the timeout is measured in, this is otherwise identical to Net.recv(3kaya) 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.pending(3kaya) Net.recv(3kaya) Net.send(3kaya) Kaya October 2012 Net.microRecv(3kaya)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

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

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

4. What is on Your Mind?

Bash Scripting Courses on the Net

Hi, not sure if I should be posting this here but I am wondering if any of you have taken a good formal course in bash scripting on the Net and if so what it was? Free or paid. I am looking to expand my knowledge through courses and anything bash related would be great. (0 Replies)
Discussion started by: newbie2010
0 Replies