Kaya 0.5.3 reference for Net::accept

List of functions and data types in Net

NetHandle accept(Int socket)

Arguments

Usage

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 connWaiting first to determine if connections are available, although this may not be completely reliable in threaded applications.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya