diff --git a/modules/beast_asio/handshake/beast_InputParser.h b/modules/beast_asio/handshake/beast_InputParser.h index 3c5f31fee2..fb19516994 100644 --- a/modules/beast_asio/handshake/beast_InputParser.h +++ b/modules/beast_asio/handshake/beast_InputParser.h @@ -339,6 +339,14 @@ struct Get struct IPv4Address { uint8 value [4]; + + String toString () const + { + return String::fromNumber (value [0]) + "." + + String::fromNumber (value [1]) + "." + + String::fromNumber (value [2]) + "." + + String::fromNumber (value [3]); + } }; template <>