25 #ifndef SFML_IPADDRESS_HPP
26 #define SFML_IPADDRESS_HPP
31 #include <SFML/Network/Export.hpp>
32 #include <SFML/System/Time.hpp>
94 IpAddress(Uint8 byte0, Uint8 byte1, Uint8 byte2, Uint8 byte3);
123 std::string toString()
const;
139 Uint32 toInteger()
const;
271 SFML_NETWORK_API std::istream& operator >>(std::istream& stream,
IpAddress& address);
282 SFML_NETWORK_API std::ostream& operator <<(std::ostream& stream,
const IpAddress& address);
287 #endif // SFML_IPADDRESS_HPP
Encapsulate an IPv4 network address.
static const IpAddress None
Value representing an empty/invalid address.
static const IpAddress LocalHost
The "localhost" address (for connecting a computer to itself locally)
static const Time Zero
Predefined "zero" time value.
static const IpAddress Broadcast
The "broadcast" address (for sending UDP messages to everyone on a local network) ...