mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 07:23:07 +01:00
intermediate: udp reader
This commit is contained in:
@@ -22,4 +22,7 @@ class GwSocketHelper{
|
||||
if (inet_pton(AF_INET,addr.c_str(),&iaddr) != 1) return false;
|
||||
return IN_MULTICAST(ntohl(iaddr.s_addr));
|
||||
}
|
||||
static bool equals(const in_addr &left, const in_addr &right){
|
||||
return left.s_addr == right.s_addr;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user