Searched refs:sock (Results 1 – 1 of 1) sorted by relevance
750 Socket sock = network.getSocketFactory().createSocket(host, 80); in doSocketRequest() local752 sock.setSoTimeout(5000); in doSocketRequest()753 OutputStreamWriter writer = new OutputStreamWriter(sock.getOutputStream()); in doSocketRequest()758 BufferedReader reader = new BufferedReader(new InputStreamReader(sock.getInputStream())); in doSocketRequest()774 if (sock != null) { in doSocketRequest()775 IoUtils.closeQuietly(sock); in doSocketRequest()