Socket
class cpp.net.SocketAvailable in cpp
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 : Null<Float> ) : { write : Array<Socket>, read : Array<Socket>, others : Array<Socket> }
version #8966, modified 2010-08-14 17:05:58 by api