41 #ifndef _networkipv4socket_cpp
42 #define _networkipv4socket_cpp
44 #include "Network/platformsocket.h.cpp"
46 #include "Network/ipv4socket.h"
69 #if defined(MEZZ_WINDOWS)
70 DWORD Value = ( Hops < 0 ? 0 : Hops );
72 #elif defined(MEZZ_MACOSX) || defined(MEZZ_LINUX)
79 #if defined(MEZZ_WINDOWS)
81 #elif defined(MEZZ_MACOSX) || defined(MEZZ_LINUX)
86 return static_cast<Integer>(Value);
PlatformSocket * InternalSocket
A pointer to the internal system socket.
NetworkLayerProtocol
This is an enum listing for recognized protocols on Layer 3 of the OSI model.
int Integer
A datatype used to represent any integer close to.
Integer GetNumUnicastHops() const
Gets the number of hops permitted when sending to a non-multicast address before the message is destr...
IPv4Socket()
Class constructor.
virtual NetworkLayerProtocol GetNetworkLayerProtocol() const
Gets the layer 3 protocol this socket is operating on.
The bulk of the engine components go in this namspace.
void SetNumUnicastHops(const Integer Hops)
Sets the number of hops permitted when sending to a non-multicast address before the message is destr...
virtual ~IPv4Socket()
Class destructor.
Internet Protocol version 4.