edited send and receive message.. unsure where to use MSG_BUF