master listening to server