use socket to handle gossip