41 #ifndef _networkipv6socket_cpp
42 #define _networkipv6socket_cpp
44 #include "Network/platformsocket.h.cpp"
46 #include "Network/ipv6socket.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);
91 int Value = ( V6Only ? 1 : 0 );
100 return ( Value != 0 );
PlatformSocket * InternalSocket
A pointer to the internal system socket.
bool Boole
Generally acts a single bit, true or false.
void SetV6Only(const Boole V6Only)
Sets whether this socket is allowed to send or receive IPv4 messages.
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.
virtual NetworkLayerProtocol GetNetworkLayerProtocol() const
Gets the layer 3 protocol this socket is operating on.
Internet Protocol version 6.
virtual ~IPv6Socket()
Class destructor.
void SetNumUnicastHops(const Integer Hops)
Sets the number of hops permitted when sending to a non-multicast address before the message is destr...
Boole GetV6Only() const
Gets whether this socket is allowed to send or receive IPv4 messages.
Integer GetNumUnicastHops() const
Gets the number of hops permitted when sending to a non-multicast address before the message is destr...
The bulk of the engine components go in this namspace.
IPv6Socket()
Class constructor.