Function connect can also take the host name:
virtual int connect(IPAddress ip, uint16_t port);
virtual int connect(const char *host, uint16_t port);
Function connect can also take the host name:
virtual int connect(IPAddress ip, uint16_t port);
virtual int connect(const char *host, uint16_t port);