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

ost::UDPBroadcast - Representing a UDP socket used for subnet broadcasts, this class provides an

Author

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

GNU CommonC++                                    Sun Dec 27 2020                            ost::UDPBroadcast(3)

Constructor & Destructor Documentation

ost::UDPBroadcast::UDPBroadcast(constIPV4Address&ia,tpport_tport)
       Create and bind a subnet broadcast socket.

       Parametersia address to bind socket under locally.
           port to bind socket under locally.

Detailed Description

       Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and
       setPeer() capability for UDP sockets.

       Author
           David Sugar dyfet@ostel.com

       Unreliable Datagram for subnet broadcasts.

Member Function Documentation

voidost::UDPBroadcast::setPeer(constIPV4Broadcast&subnet,tpport_tport)
       Set peer by subnet rather than specific host.

       Parameterssubnet of peer hosts to send to.
           port number to use.

Name

       ost::UDPBroadcast - Representing a UDP socket used for subnet broadcasts, this class provides an
       alternate binding and setPeer() capability for UDP sockets.

Synopsis

       #include <socket.h>

       Inherits ost::UDPSocket.

   PublicMemberFunctionsUDPBroadcast (const IPV4Address &ia, tpport_t port)
           Create and bind a subnet broadcast socket.
       void setPeer (const IPV4Broadcast &subnet, tpport_t port)
           Set peer by subnet rather than specific host.

   AdditionalInheritedMembers

See Also