La funzione è questa.... uint16_t
Che cavolo è? Che tipo è? 0~1024 porte?
uint16_t EthernetClient::_srcport = 1024;
int EthernetClient::connect(const char* host, uint16_t port) {
// Look up the host first
int ret = 0;
DNSClient dns;
IPAddress remote_addr;
dns.begin(Ethernet.dnsServerIP());
ret = dns.getHostByName(host, remote_addr);
if (ret == 1) {
return connect(remote_addr, port);
} else {
return ret;
}
}