Poll
class neko.net.PollAvailable in nekoPolls multiple non-blocking sockets with a single thread.
var readIndexes : ArrayAccess<Int>
var writeIndexes : ArrayAccess<Int>
function new( n : Int ) : Void
function events( ?t : Float ) : VoidUpdate the read/write flags arrays that were created with
prepare.
function poll( a : Array<Socket>, ?t : Float ) : Array<Socket>Perform a polling for data available over a given set of sockets. This is similar to socket_select except that socket_select is limited to a given number of simultaneous sockets to check.
function prepare( read : Array<Socket>, write : Array<Socket> ) : VoidPrepare a poll for scanning events on sets of sockets.
version #3930, modified 2008-08-13 22:24:29 by ianxm