logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

socket.h - Network addresses and sockets related classes.

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source code.

GNU CommonC++                                    Sun Dec 27 2020                                     socket.h(3)

Detailed Description

       Network addresses and sockets related classes.

Macro Definition Documentation

#define_IOLEN64#define_IORET64#defineDCCP_SOCKOPT_AVAILABLE_CCIDS12#defineDCCP_SOCKOPT_CCID13#defineDCCP_SOCKOPT_RX_CCID15#defineDCCP_SOCKOPT_TX_CCID14#defineINVALID_SOCKET-1#defineIPPROTO_DCCP33#defineMSG_DONTWAIT0#defineMSG_NOSIGNAL0#defineSOCK_DCCP6#defineSOL_DCCP269

Name

       socket.h - Network addresses and sockets related classes.

Synopsis

       #include <cc++/address.h>

   Classes
       class ost::Socket
           The Socket is used as the base for all Internet protocol services under Common C++.
       class ost::DCCPSocket
           DCCP sockets are used for stream based connected sessions between two sockets.
       class ost::UDPSocket
           UDP sockets implement the TCP SOCK_DGRAM UDP protocol.
       class ost::UDPBroadcast
           Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and
           setPeer() capability for UDP sockets.
       class ost::UDPTransmit
           Representing half of a two-way UDP connection, the UDP transmitter can broadcast data to another
           selected peer host or to an entire subnet.
       class ost::UDPReceive
           Representing half of a two-way UDP connection, the UDP receiver can receive data from another peer
           host or subnet.
       class ost::UDPDuplex
           UDP duplex connections impliment a bi-directional point-to-point UDP session between two peer hosts.
       class ost::TCPSocket
           TCP sockets are used for stream based connected sessions between two sockets.
       class ost::TCPV6Socket
           TCPV6 sockets are used for stream based connected sessions between two ipv6 sockets.
       class ost::TCPStream
           TCP streams are used to represent TCP client connections to a server by TCP protocol servers for
           accepting client connections.
       class ost::TCPSession
           The TCP session is used to primarily to represent a client connection that can be managed on a
           separate thread.
       class ost::SimpleTCPStream
           Simple TCP Stream, to be used with Common C++ Library.

   NamespacesostMacros
       #define INVALID_SOCKET   -1
       #define _IOLEN64
       #define _IORET64
       #define MSG_DONTWAIT   0
       #define MSG_NOSIGNAL   0
       #define SOCK_DCCP   6
       #define IPPROTO_DCCP   33
       #define SOL_DCCP   269
       #define DCCP_SOCKOPT_AVAILABLE_CCIDS   12
       #define DCCP_SOCKOPT_CCID   13
       #define DCCP_SOCKOPT_TX_CCID   14
       #define DCCP_SOCKOPT_RX_CCID   15

   Typedefs
       typedef int SOCKETVariables
       class __EXPORTost::SimpleTCPStream

Typedef Documentation

typedefintSOCKET

See Also