haXe API Documentation
Back |
Indexclass neko.net.Socket
Available 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 setFastSend(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>}
Back |
Index