Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
gnet-2.0
GNet
UdpSocket
UdpSocket
UdpSocket.full
UdpSocket.with_port
get_io_channel
get_local_inetaddr
get_ttl
has_packet
receive
send
set_ttl
UdpSocket
Object Hierarchy:
Description:
public
class
UdpSocket
Namespace:
GNet
Package:
gnet-2.0
Content:
Creation methods:
public
UdpSocket
()
public
UdpSocket.with_port
(
int
port)
public
UdpSocket.full
(
InetAddr
iface,
int
port)
Methods:
public
IOChannel
get_io_channel
()
public
InetAddr
get_local_inetaddr
()
public
int
send
(
string
buf,
int
len,
InetAddr
dest)
public
int
receive
(
string
buf,
int
len,
InetAddr
src)
public
bool
has_packet
()
public
int
get_ttl
()
public
int
set_ttl
(
int
ttl)