Searched refs:serverSocket (Results 1 – 3 of 3) sorted by relevance
324 ServerSocket serverSocket = new ServerSocket(0); in establishConnection() local325 serverSocket.setSoTimeout(NETWORK_TIMEOUT_MS); in establishConnection()326 requestNetwork(peerHandle, Optional.of(serverSocket.getLocalPort()), in establishConnection()329 onSocketAvailable(serverSocket.accept()); in establishConnection()
226 ServerSocket serverSocket = new ServerSocket(8988); in doInBackground() local228 Socket client = serverSocket.accept(); in doInBackground()242 serverSocket.close(); in doInBackground()
555 private ServerSocket serverSocket; field in MonkeySourceNetwork561 serverSocket = new ServerSocket(port, in MonkeySourceNetwork()574 clientSocket = serverSocket.accept(); in startServer()