netstat2-rs icon indicating copy to clipboard operation
netstat2-rs copied to clipboard

Add Option<remote_ip> + Option<remote_port> to ProtocolSocketInfo::Udp?

Open capveg-netdebug opened this issue 2 years ago • 0 comments

Hi,

Thanks for solving 95% of a hard problem for me with this crate! I'd like to contribute a bit to see if I can help finish this off. One specific point is that Udp sockets can be optionally connected to a remote ip+port pair, but the current ProtocolSocketInfo::Udp doesn't support that - it only contains local IP + port.

If I were to put together a patch that added them as Option<> would folks accept it?

Thanks in advance,

capveg-netdebug avatar Aug 30 '23 21:08 capveg-netdebug