SYNOPSISNetHandle accept( Int socket )
socket A socket number returned from Net.listen(3kaya)
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.
AUTHORSKaya standard library by Edwin Brady, Chris Morris and others ([email protected]). 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.