pub fn same_socket(a: SocketAddr, b: SocketAddr) -> boolExpand description
Whether two listening addresses would take the same socket: the same port, other than the port 0 that asks the system for a free one, on the same address, or on addresses of one family of which one is the unspecified address, which takes every address of the family.