26 #include "ns3/socket.h" 27 #include "ns3/traced-callback.h" 28 #include "ns3/callback.h" 30 #include "ns3/object.h" (abstract) base class of all UdpSockets
virtual uint8_t GetIpMulticastTtl(void) const =0
Get the IP multicast TTL.
virtual void SetIpMulticastTtl(uint8_t ipTtl)=0
Set the IP multicast TTL.
virtual bool GetIpMulticastLoop(void) const =0
Get the IP multicast loop capability.
a polymophic address class
static TypeId GetTypeId(void)
Get the type ID.
virtual void SetIpMulticastIf(int32_t ipIf)=0
Set the IP multicast interface.
A low-level Socket API based loosely on the BSD Socket API.
virtual int MulticastJoinGroup(uint32_t interface, const Address &groupAddress)=0
Corresponds to socket option MCAST_JOIN_GROUP.
virtual int MulticastLeaveGroup(uint32_t interface, const Address &groupAddress)=0
Corresponds to socket option MCAST_LEAVE_GROUP.
virtual int32_t GetIpMulticastIf(void) const =0
Get the IP multicast interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual void SetRcvBufSize(uint32_t size)=0
Set the receiving buffer size.
virtual uint32_t GetRcvBufSize(void) const =0
Get the receiving buffer size.
virtual bool GetMtuDiscover(void) const =0
Get the MTU discover capability.
virtual void SetIpMulticastLoop(bool loop)=0
Set the IP multicast loop capability.
virtual void SetMtuDiscover(bool discover)=0
Set the MTU discover capability.
a unique identifier for an interface.