41 #ifndef _networkudpv4socket_cpp
42 #define _networkudpv4socket_cpp
44 #include "Network/platformsocket.h.cpp"
46 #include "Network/udpv4socket.h"
86 #if defined(MEZZ_WINDOWS)
87 DWORD Value = ( Hops < 0 ? 0 : Hops );
89 #elif defined(MEZZ_MACOSX) || defined(MEZZ_LINUX)
96 #if defined(MEZZ_WINDOWS)
98 #elif defined(MEZZ_MACOSX) || defined(MEZZ_LINUX)
103 return static_cast<Integer>(Value);
108 int Value = ( Loop ? 1 : 0 );
117 return ( Value != 0 );
PlatformSocket * InternalSocket
A pointer to the internal system socket.
bool Boole
Generally acts a single bit, true or false.
int Integer
A datatype used to represent any integer close to.
void SetMulticastLoop(const Boole Loop)
Sets whether or not this socket will receive multicast trasmissions it sends.
void SetNumMulticastHops(const Integer Hops)
Sets the number of hops permitted when sending to a multicast address before the message is destroyed...
Boole GetMulticastLoop() const
Gets whether or not this socket will receive multicast trasmissions it sends.
uint16_t UInt16
An 16-bit unsigned integer.
Integer GetNumMulticastHops() const
Gets the number of hops permitted when sending to a multicast address before the message is destroyed...
The bulk of the engine components go in this namspace.
virtual ~UDPv4Socket()
Class destructor.
UDPv4Socket()
Class constructor.