Server: receiving messages from client and resend it to all clients; Client: enter message and send it.