HomeSort by relevance Sort by last modified time
    Searched defs:rawSocket (Results 1 - 7 of 7) sorted by null

  /external/ltp/testcases/network/sockets/
ltpClient.c 368 int rawSocket, count, value = TIMETOLIVE;
372 rawSocket = socket(PF_INET, SOCK_RAW, protocol->p_proto);
375 if (rawSocket < 0) {
388 recvfrom(rawSocket, packet, sizeof(packet), 0,
404 close(rawSocket);
487 int i, rawSocket, count = 1;
493 rawSocket = socket(PF_INET, SOCK_RAW, protocol->p_proto);
495 if (rawSocket < 0) {
496 printf("Error: cannot open RAW socket %d\n", rawSocket);
500 if (setsockopt(rawSocket, SOL_IP, IP_TTL, &value, sizeof(value)) != 0)
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
RealConnection.java 71 private Socket rawSocket;
74 * The application layer socket. Either an {@link SSLSocket} layered over {@link #rawSocket}, or
75 * {@link #rawSocket} itself if this connection does not use SSL.
109 rawSocket = proxy.type() == Proxy.Type.DIRECT || proxy.type() == Proxy.Type.HTTP
115 Util.closeQuietly(rawSocket);
117 rawSocket = null;
139 rawSocket.setSoTimeout(readTimeout);
141 Platform.get().connectSocket(rawSocket, route.getSocketAddress(), connectTimeout);
145 source = Okio.buffer(Okio.source(rawSocket));
146 sink = Okio.buffer(Okio.sink(rawSocket));
    [all...]
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.2/
okhttp-2.7.2.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.3.0/
okhttp-3.3.0.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.4.1/
okhttp-3.4.1.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.4/
okhttp-2.7.4.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-8.0.0_r4-robolectric-r1.jar 

Completed in 209 milliseconds