Constructor
Inherited Variables
Defined by Socket
custom:Dynamic
Available on python
A custom value that can be associated with the socket. Can be used to retrieve your custom infos after a select.
Inherited Methods
Defined by Socket
Defined by Socket
setBlocking(b:Bool):Void
Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocked value.
setFastSend(b:Bool):Void
Allows the socket to immediately send the data when written to its output : this will cause less ping but might increase the number of packets / data size, especially when doing a lot of small writes.
setTimeout(timeout:Float):Void
Gives a timeout after which blocking socket operations (such as reading and writing) will abort and throw an exception.