a chatroom app sending message and receiving message by tcpSocket