Android Utililty Methods Socket Create

List of utility methods to do Socket Create

Description

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

Method

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);