ost::UDPDuplex(3) | Library Functions Manual | ost::UDPDuplex(3) |
ost::UDPDuplex - UDP duplex connections impliment a bi-directional point-to-point UDP session between two peer hosts.
#include <socket.h>
Inherits ost::UDPTransmit, and ost::UDPReceive.
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.
UDP duplex connections impliment a bi-directional point-to-point UDP session between two peer hosts.
Two UDP sockets are typically used on alternating port addresses to assure that sender and receiver data does not collide or echo back. A UDP Duplex is commonly used for full duplex real-time streaming of UDP data between hosts.
Author:
Create a UDP duplex as a pair of UDP simplex objects bound to alternating and interconnected port addresses.
Parameters:
Associate the duplex with a specified peer host. Both the sender and receiver will be interconnected with the remote host.
Returns:
Parameters:
Disassociate this duplex from any host connection. No data should be read or written until a connection is established.
Returns:
Generated automatically by Doxygen for GNU CommonC++ from the source code.
Wed Oct 31 2018 | GNU CommonC++ |