net.UdpSocket

UdpSocket

package sys-net

extends Socket

Available on cpp, hl, java, lua, macro, neko, php, python

A UDP socket class

Constructor

new ()

Methods

readFrom (buf:Bytes, pos:Int, len:Int, addr:Address):Int

Reads data from any incoming address and store the receiver address into the address parameter.

sendTo (buf:Bytes, pos:Int, len:Int, addr:Address):Int

Sends data to the specified target host/port address.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/sys/net/UdpSocket.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部