1Net.accept(3kaya)            Kaya module reference           Net.accept(3kaya)
2
3
4

NAME

6       Net::accept - Accept a connection on a socket.
7

SYNOPSIS

9       NetHandle accept( Int socket )
10

ARGUMENTS

12       socket A socket number returned from Net.listen (3kaya)
13
14

DESCRIPTION

16       Accept  a  connection  on  a socket. Returns a connection handle. If no
17       connections are currently waiting then an Exception will  be  thrown  -
18       you  can call Net.connWaiting (3kaya) first to determine if connections
19       are available, although this may not be completely reliable in threaded
20       applications.
21

AUTHORS

23       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
24       (kaya@kayalang.org). For further information see http://kayalang.org/
25

LICENSE

27       The Kaya standard library is free software;  you  can  redistribute  it
28       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
29       License (version 2.1 or any later version) as  published  by  the  Free
30       Software Foundation.
31
33       Net.NetHandle (3kaya)
34       Net.closeConnection (3kaya)
35       Net.closeSocket (3kaya)
36       Net.connWaiting (3kaya)
37       Net.listen (3kaya)
38       Net.recv (3kaya)
39       Net.shutdown (3kaya)
40       Net.send (3kaya)
41
42
43
44Kaya                             December 2010               Net.accept(3kaya)
Impressum