adapnex::core::UDPConnection

Synopsis

Declared in <adapnex/core/network.h>

class UDPConnection
    : public boost::noncopyable

Base Classes

Name Description

boost::noncopyable

Member Functions

Name

Description

~UDPConnection [destructor] [virtual]

Destructor

Close [virtual]

Closes the connection.

ReadPacket [virtual]

Receive a datagram from the peer if available and return immediately (non‐blocking).

WritePacket [virtual]

Send a datagram to the peer and return immediately (non‐blocking).

Static Member Functions

Name

Description

Create

Creates a UDPConnection instance that only sends/receives datagrams to/from the given IPv4 address and port.

Create

Creates a UDPConnection instance that only sends/receives datagrams to/from the given host and port.

Created with MrDocs