code: public void sendMessage(String message){
  
  		byte[] datagramData = message.getBytes();
  		datagramPacket.setData(datagramData);
  
  		try {
  			datagramSocket.send(datagramPacket);
  		} catch (IOException e) {
  			Log.e(TAG, "Failed to send datagram log " + e);
  		}
  	}
docs: Send the specified message as a <code>Datagram</code>.
  
  @param message
  the message to send.