Scroll to navigation

ost::UDPDuplex(3) Library Functions Manual ost::UDPDuplex(3)

NAME

ost::UDPDuplex -
UDP duplex connections impliment a bi-directional point-to-point UDP session between two peer hosts.
 

SYNOPSIS

#include <socket.h>
Inherits ost::UDPTransmit, and ost::UDPReceive.

Public Member Functions


UDPDuplex (const IPV4Address &bind, tpport_t port)
 
Create a UDP duplex as a pair of UDP simplex objects bound to alternating and interconnected port addresses. UDPDuplex (const IPV6Address &bind, tpport_t port)
 
Error connect (const IPV4Host &host, tpport_t port)
 
Associate the duplex with a specified peer host. Error connect (const IPV6Host &host, tpport_t port)
 
Error disconnect (void)
 
Disassociate this duplex from any host connection.
Sat Jun 23 2012 GNU CommonC++