namespace EE::Network¶
Overview¶
namespace Network { // namespaces namespace EE::Network::SSL; // typedefs typedef UINT_PTR SocketHandle; // classes class Ftp; class Http; class IpAddress; class Packet; class Socket; class SocketSelector; class TcpListener; class TcpSocket; class URI; class UdpSocket; // global functions EE_API bool operator==(const IpAddress& left, const IpAddress& right); EE_API bool operator!=(const IpAddress& left, const IpAddress& right); EE_API bool operator<(const IpAddress& left, const IpAddress& right); EE_API bool operator>(const IpAddress& left, const IpAddress& right); EE_API bool operator<=(const IpAddress& left, const IpAddress& right); EE_API bool operator>=(const IpAddress& left, const IpAddress& right); EE_API std::istream& operator>>(std::istream& stream, IpAddress& address); EE_API std::ostream& operator<<(std::ostream& stream, const IpAddress& address); void swap(URI& u1, URI& u2); } // namespace Network
Detailed Documentation¶
Typedefs¶
typedef UINT_PTR SocketHandle
Define the low-level socket handle type, specific to each platform
Global Functions¶
EE_API bool operator==(const IpAddress& left, const IpAddress& right)
Overload of == operator to compare two IP addresses.
Parameters:
left |
Left operand (a IP address) |
right |
Right operand (a IP address) |
Returns:
True if both addresses are equal
EE_API bool operator!=(const IpAddress& left, const IpAddress& right)
Overload of != operator to compare two IP addresses.
Parameters:
left |
Left operand (a IP address) |
right |
Right operand (a IP address) |
Returns:
True if both addresses are different
EE_API bool operator<(const IpAddress& left, const IpAddress& right)
Overload of < operator to compare two IP addresses.
Parameters:
left |
Left operand (a IP address) |
right |
Right operand (a IP address) |
Returns:
True if left is lesser than right
EE_API bool operator>(const IpAddress& left, const IpAddress& right)
Overload of > operator to compare two IP addresses.
Parameters:
left |
Left operand (a IP address) |
right |
Right operand (a IP address) |
Returns:
True if left is greater than right
EE_API bool operator<=(const IpAddress& left, const IpAddress& right)
Overload of <= operator to compare two IP addresses.
Parameters:
left |
Left operand (a IP address) |
right |
Right operand (a IP address) |
Returns:
True if left is lesser or equal than right
EE_API bool operator>=(const IpAddress& left, const IpAddress& right)
Overload of >= operator to compare two IP addresses.
Parameters:
left |
Left operand (a IP address) |
right |
Right operand (a IP address) |
Returns:
True if left is greater or equal than right
EE_API std::istream& operator>>(std::istream& stream, IpAddress& address)
Overload of >> operator to extract an IP address from an input stream.
Parameters:
stream |
Input stream |
address |
IP address to extract |
Returns:
Reference to the input stream
EE_API std::ostream& operator<<(std::ostream& stream, const IpAddress& address)
Overload of << operator to print an IP address to an output stream.
Parameters:
stream |
Output stream |
address |
IP address to print |
Returns:
Reference to the output stream