W3cubDocs

/Haxe C++

NativeSocket

package cpp

Available on cpp

Static methods

statichost_local():String

staticinlinehost_local_ipv6():String

statichost_resolve(host:String):Int

statichost_resolve_ipv6(host:String):BytesData

statichost_reverse(host:Int):String

statichost_reverse_ipv6(ipv6:BytesData):String

statichost_to_string(ip:Int):String

statichost_to_string_ipv6(ipv6:BytesData):String

staticsocket_accept(o:Dynamic):Dynamic

staticsocket_bind(o:Dynamic, host:Int, port:Int):Void

staticsocket_bind_ipv6(o:Dynamic, host:BytesData, port:Int):Void

staticsocket_close(handle:Dynamic):Void

staticsocket_connect(o:Dynamic, host:Int, port:Int):Void

staticsocket_connect_ipv6(o:Dynamic, host:BytesData, port:Int):Void

staticsocket_fast_select(rs:Array<Dynamic>, ws:Array<Dynamic>, es:Array<Dynamic>, timeout:Dynamic):Void

staticsocket_host(o:Dynamic):Array<Int>

staticsocket_init():Void

staticsocket_listen(o:Dynamic, n:Int):Void

staticsocket_new(udp:Bool):Dynamic

staticsocket_new_ip(udp:Bool, ipv6:Bool):Dynamic

staticsocket_peer(o:Dynamic):Array<Int>

staticsocket_poll(socks:Array<Socket>, pdata:Dynamic, timeout:Float):Array<Socket>

staticsocket_poll_alloc(nsocks:Int):Dynamic

staticsocket_poll_events(pdata:Dynamic, timeout:Float):Void

staticsocket_poll_prepare(pdata:Dynamic, rsocks:Array<Socket>, wsocks:Array<Socket>):Array<Array<Int>>

staticsocket_read(o:Dynamic):BytesData

staticsocket_recv(o:Dynamic, buf:BytesData, p:Int, l:Int):Int

staticsocket_recv_char(o:Dynamic):Int

staticsocket_recv_from(o:Dynamic, buf:BytesData, p:Int, l:Int, outAddr:Dynamic):Int

staticsocket_select(rs:Array<Dynamic>, ws:Array<Dynamic>, es:Array<Dynamic>, timeout:Dynamic):Array<Dynamic>

staticsocket_send(o:Dynamic, buf:BytesData, p:Int, l:Int):Int

staticsocket_send_char(o:Dynamic, c:Int):Void

staticsocket_send_to(o:Dynamic, buf:BytesData, p:Int, l:Int, inAddr:Dynamic):Int

staticsocket_set_blocking(o:Dynamic, b:Bool):Void

staticsocket_set_broadcast(o:Dynamic, b:Bool):Void

staticsocket_set_fast_send(o:Dynamic, b:Bool):Void

staticsocket_set_timeout(o:Dynamic, t:Dynamic):Void

staticsocket_shutdown(o:Dynamic, r:Bool, w:Bool):Void

staticsocket_write(o:Dynamic, buf:BytesData):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/NativeSocket.html