Net.accept(3kaya) Kaya module reference Net.accept(3kaya)NAMENet::accept - Accept a connection on a socket.SYNOPSISNetHandle accept( Int socket )ARGUMENTSsocket A socket number returned from Net.listen(3kaya)DESCRIPTIONAccept 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.AUTHORSKaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/LICENSEThe 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.RELATEDNet.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)