reading from console
sending datagram with message from console