haXe API Documentation
Back | Index
class php.net.Socket
Available in php
var custom : Dynamic
var input(default,null) : SocketInput
var output(default,null) : SocketOutput
var protocol(default,null) : String
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 write(content : String) : Void
static function newSslSocket() : Socket
static function newUdpSocket() : Socket
Back | Index