support p2p-like discovery