Android Utililty Methods Socket Create

List of utility methods to do Socket Create


The list of methods to do Socket Create are organized into topic(s).


SocketgetSocket(Context context, String proxyHost, int proxyPort)
get Socket
Socket sock = new Socket();
sock.connect(new InetSocketAddress(proxyHost, proxyPort), 10000);
return sock;
SocketgetSocket(Context context)
get Socket
return getSocket(context, DEFAULT_HOST, DEFAULT_SOCKET_PORT);