fn sanitize_entries(
    addrs: &[IpAddr],
    sockets: &[SocketEntry]
) -> Result<(), Error>