UdpSocket
Object Hierarchy:
Description:
[ CCode ( cname = "sfUdpSocket" , cprefix = "sfUdpSocket_" , free_function = "sfUdpSocket_destroy" ) ]
[ Compact ]
public class UdpSocket
Content:
Creation methods:
Methods:
- public SocketStatus bind (ushort port, IpAddress address)
- public ushort getLocalPort ()
- public bool isBlocking ()
- public uint maxDatagramSize ()
- public SocketStatus receive (void* data, size_t size, out size_t received, IpAddress remoteAddress, out ushort remotePort)
- public SocketStatus receivePacket (Packet packet, IpAddress remoteAddress, ushort* remotePort)
- public SocketStatus send (void* data, size_t size, IpAddress remoteAddress, ushort remotePort)
- public SocketStatus sendPacket (Packet packet, IpAddress remoteAddress, ushort remotePort)
- public void setBlocking (bool blocking)
- public void unbind ()