haXe

Socket

class neko.net.SocketAvailable in neko var custom : Dynamic var input(default,null) : SocketInput var output(default,null) : SocketOutput function new( ?s : SocketHandle ) : Void function accept() : Socket function bind( host : Host, port : Int ) : Void function close() : Void function connect( host : Host, port : Int ) : Void function host() : { port : Int, host : Host } function listen( connections : Int ) : Void function peer() : { port : Int, host : Host } function read() : String function setBlocking( b : Bool ) : Void function setTimeout( timeout : Float ) : Void function shutdown( read : Bool, write : Bool ) : Void function waitForRead() : Void function write( content : String ) : Void static function newUdpSocket() : Socket static function select( read : Array<Socket>, write : Array<Socket>, others : Array<Socket>, timeout : Float ) : { write : Array<Socket>, read : Array<Socket>, others : Array<Socket> }
version #2321, modified 2008-07-28 10:01:44 by api