List of utility methods to do Socket Create
Socket | getSocket(Context context, String proxyHost, int proxyPort) get Socket Socket sock = new Socket(); sock.connect(new InetSocketAddress(proxyHost, proxyPort), 10000); return sock; |
Socket | getSocket(Context context) get Socket return getSocket(context, DEFAULT_HOST, DEFAULT_SOCKET_PORT);
|