44 #ifndef COMMONCPP_DCCP_H_ 45 #define COMMONCPP_DCCP_H_ 49 #ifndef COMMONCPP_CONFIG_H_ 50 #include <commoncpp/config.h> 53 #ifndef COMMONCPP_STRING_H_ 57 #ifndef COMMONCPP_ADDRESS_H_ 61 #ifndef COMMONCPP_SOCKET_H_ 97 struct sockaddr_in ipv4;
99 struct sockaddr_in6 ipv6;
153 DCCPSocket(
const char *name, Family family = IPV4,
unsigned backlog = 5);
173 void disconnect(
void);
178 bool setCCID(uint8_t ccid);
183 int getTxCCID()
const;
188 int getRxCCID()
const;
193 size_t available()
const;
210 void connect(
const char *name);
218 return Socket::isPending(Socket::pendingInput, timeout);
DCCP sockets are used for stream based connected sessions between two sockets.
This object is used to hold the actual and valid internet address of a specific host machine that wil...
The network name and address objects are all derived from a common IPV6Address base class.
This object is used to hold the actual and valid internet address of a specific host machine that wil...
Network addresses and sockets related classes.
bool isPendingConnection(timeout_t timeout=ucommon::Timer::inf)
Used to wait for pending connection requests.
in_port_t tpport_t
Transport Protocol Ports.
Common C++ generic string class.
The network name and address objects are all derived from a common IPV4Address base class.