Net.accept(3kaya) Kaya module reference Net.accept(3kaya)NAME
Net::accept - Accept a connection on a socket.
SYNOPSIS
NetHandle accept( Int socket )
ARGUMENTS
socket A socket number returned from Net.listen(3kaya)DESCRIPTION
Accept a connection on a socket. Returns a connection handle. If no connections are currently waiting then an Exception will be thrown -
you can call Net.connWaiting(3kaya) first to determine if connections are available, although this may not be completely reliable in
threaded applications.
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.closeConnection(3kaya)Net.closeSocket(3kaya)Net.connWaiting(3kaya)Net.listen(3kaya)Net.recv(3kaya)Net.shutdown(3kaya)Net.send(3kaya)Kaya October 2012 Net.accept(3kaya)
Check Out this Related Man Page
Net.sendBytes(3kaya) Kaya module reference Net.sendBytes(3kaya)NAME
Net::sendBytes - Send binary data across a connection.
SYNOPSIS
Void sendBytes( NetHandle h, Binary d )
ARGUMENTS
h The connection
d The data to send
DESCRIPTION
Send binary data across a connection. 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.closeConnection(3kaya)Net.connect(3kaya)Net.send(3kaya)Net.sendByte(3kaya)Net.recv(3kaya)Kaya October 2012 Net.sendBytes(3kaya)
Dear All,
I got a table creation file in a standard format. I need to accept parameters from the user & then based on the input change the data in the file. For. eg. i will accept the database name, dbspace name & user name from the user and accordingly change the same in the table creation... (2 Replies)
Hi,
I have read the related posts by perleo and those who assisted. I wish to do a similar thing, in that I wish to use the Net:smtp module.
I have downloaded it and followed the instructions for the install.
When I check the perldoc net::smtp, the information returns (thus showing it... (1 Reply)
I have 3 file, each of has got 80000 records.
file1.txt
-----------------------
ABC001;active;modify;accept;
ABC002;notactive;modify;accept;
ABC003;notactive;no-modify;accept;
ABC004;active;modify;accept;
ABC005;active;no-modify;accept;
file2.txt
---------------------------... (8 Replies)
Hello,
I ran into an issue in one of my monitoring scripts. If I use the public ip address in my connection string everything works, but if I switch the connection string ip to 127.0.0.1 or the internal ip I get, " Connection refused at... (1 Reply)
#!/usr/bin/perl
use strict;
use warnings;
use Net::Telnet ();
my $t = new Net::Telnet (Timeout => 10,
Prompt => '/.*(#|>|\))\s*$/');
my $remote_host='home';
$t->open(Host => $remote_host, Port =>23);
$t->login('root', 'pass');
the error that I get... (4 Replies)
I am trying to execute a script in another server, i used Net::Ftp module
How to execute unix command in another server by using Net::Ftp module..
#!/usr/bin.perl
### Perl script to
$ftp->login($user_name,'password')
or die "Cannot login ", $ftp->message;... (2 Replies)
I'm using C/ C++ with gcc on Linux. I've a server socket where accept() is called on the socket inside a while() loop. The problem I am facing is that the first call to accept is blocking (i.e., the program waits for the first connection) but as soon as I fork afterwards (so that the child process... (2 Replies)
Don't laugh, I am going to replicate the exact look and feel of the Solaris 8 GUI, the Motif-based CDE of Solaris 8, using Windows .Net, C#, and WPF.
I am looking for any kind of jump start in terms of library, free or licensable:
Has anyone every come across a library of assets and/or... (1 Reply)