AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AUdpSocket Class Reference

A bidirectional UDP socket.

#include <AUI/Network/AUdpSocket.h>

Constructor & Destructor Documentation

◆ AUdpSocket()

AUdpSocket::AUdpSocket ( uint16_t port)
Parameters
portport

Member Function Documentation

> All members, including inherited

◆ createSocket()

int AUdpSocket::createSocket ( )
overrideprotectedvirtual

Implements AAbstractSocket.

◆ read()

void AUdpSocket::read ( AByteBuffer & buf,
AInet4Address & dst )
Parameters
buf(out) received data
dst(out) sender address

◆ write()

void AUdpSocket::write ( AByteBufferView buf,
const AInet4Address & dst )
Parameters
bufdata buffer
dstdestination delivery address