<div dir="ltr">Hi.<div><br></div><div><br></div><div>I want to get statistics for dropped packets on udp socket.</div><div><br></div><div>Right now I open on linux /proc/net/udp and read it once per second and parse.</div><div><br></div><div>It is not very reliable, because if there are two multicast listeners on same group:port, it is impossible to distinguish them.</div><div><br></div><div><br></div><div>Seems that it is possible to query PACKET_STATISTICS via getsockopt, but this is supported only in Linux.</div><div><br></div><div><br></div><div>Will such platform specific patch to OTP be accepted, if I add to inet:getstat/1  something like drop_cnt response that will work only under linux?</div><div><br></div><div><br></div></div>