split receiver to win and linux version