Searched refs:clientSocket (Results 1 – 7 of 7) sorted by relevance
75 Socket clientSocket = new Socket(); in performancePreferenceTest() local78 clientSocket.connect(clAddress); in performancePreferenceTest()81 assertEquals(clAddress, clientSocket.getRemoteSocketAddress()); in performancePreferenceTest()84 clientSocket.close(); in performancePreferenceTest()
431 Socket clientSocket = new Socket(); in test_bindLjava_net_SocketAddress() local434 clientSocket.connect(clAddress); in test_bindLjava_net_SocketAddress()437 assertEquals(clAddress, clientSocket.getRemoteSocketAddress()); in test_bindLjava_net_SocketAddress()440 clientSocket.close(); in test_bindLjava_net_SocketAddress()516 Socket clientSocket = new Socket(); in test_bindLjava_net_SocketAddressI() local517 clientSocket.connect(localAddress); in test_bindLjava_net_SocketAddressI()520 assertTrue(clientSocket.getRemoteSocketAddress().equals(localAddress)); in test_bindLjava_net_SocketAddressI()523 clientSocket.close(); in test_bindLjava_net_SocketAddressI()
425 SSLSocket clientSocket = (SSLSocket)serverSocket.accept(); in run() local427 InputStream istream = clientSocket.getInputStream(); in run()434 OutputStream ostream = clientSocket.getOutputStream(); in run()443 clientSocket.close(); in run()
501 SSLSocket clientSocket = (SSLSocket)serverSocket.accept(); in run() local503 InputStream istream = clientSocket.getInputStream(); in run()507 OutputStream ostream = clientSocket.getOutputStream(); in run()515 clientSocket.close(); in run()
552 SSLSocket clientSocket = (SSLSocket)serverSocket.accept(); in run() local555 InputStream stream = clientSocket.getInputStream(); in run()568 clientSocket.close(); in run()
717 Socket clientSocket; in openDataConnection() local782 clientSocket = portSocket.accept(); in openDataConnection()784 clientSocket.setSoTimeout(readTimeout); in openDataConnection()787 clientSocket.setSoTimeout(defaultSoTimeout); in openDataConnection()795 …clientSocket = sslFact.createSocket(clientSocket, serverAddr.getHostName(), serverAddr.getPort(), … in openDataConnection()800 return clientSocket; in openDataConnection()
491 Socket clientSocket = serverChannel.accept().socket(); in test_write_NonBlocking_RealData() local492 OutputStream out = clientSocket.getOutputStream(); in test_write_NonBlocking_RealData()494 clientSocket.close(); in test_write_NonBlocking_RealData()