Skip to content

Instantly share code, notes, and snippets.

View georgethms10's full-sized avatar

George Thomas georgethms10

View GitHub Profile
@finnjohnsen
finnjohnsen / UDPListenerService
Created September 6, 2012 11:18
Android UDP Broadcast listener service
package no.nsb.ombord;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;
import org.apache.http.util.ExceptionUtils;