both server and simulator can send and receive message from each other