Read from cin and send throgh UDP socket