Searched refs:socket (Results 1 - 25 of 2014) sorted by relevance

1234567891011>>

/external/linux-kselftest/tools/testing/selftests/net/
H A Drun_netsocktests4 echo "running socket test"
6 ./socket
/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dsocket.h1 #include <asm-generic/socket.h>
/external/kernel-headers/original/uapi/asm-arm64/asm/
H A Dsocket.h1 #include <asm-generic/socket.h>
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dsocket.h1 #include <asm-generic/socket.h>
/external/xmlrpcpp/src/
H A DXmlRpcSocket.h16 //! A platform-independent socket API.
20 //! Creates a stream (TCP) socket. Returns -1 on failure.
21 static int socket();
23 //! Closes a socket.
24 static void close(int socket);
27 //! Sets a stream (TCP) socket to perform non-blocking IO. Returns false on failure.
28 static bool setNonBlocking(int socket);
30 //! Read text from the specified socket. Returns false on error.
31 static bool nbRead(int socket, std::string& s, bool *eof);
33 //! Write text to the specified socket
[all...]
/external/parameter-framework/upstream/remote-processor/
H A DSocket.h32 /** Wraps and hides asio::ip::tcp::socket
34 * asio::ip::tcp::socket cannot be forward-declared because it is an
41 Socket(asio::ip::tcp::socket &socket) : mSocket(socket) {} argument
43 asio::ip::tcp::socket &get() { return mSocket; }
46 asio::ip::tcp::socket &mSocket;
/external/autotest/client/site_tests/kernel_ProtocolCheck/
H A Dkernel_ProtocolCheck.py5 import logging, socket namespace
13 # Defines that python's socket lacks.
21 # Contains information needed to create a socket using a particular
26 Protocol('RFCOMM', AF_BLUETOOTH, socket.SOCK_STREAM, BTPROTO_RFCOMM),
27 Protocol('RFCOMM', AF_BLUETOOTH, socket.SOCK_SEQPACKET, BTPROTO_SCO),
28 Protocol('L2CAP', AF_BLUETOOTH, socket.SOCK_STREAM, BTPROTO_L2CAP),
29 Protocol('HCI', AF_BLUETOOTH, socket.SOCK_RAW, BTPROTO_HCI),
30 Protocol('PACKET', socket.AF_PACKET, socket.SOCK_DGRAM, 0),
31 Protocol('RAWv6', socket
[all...]
/external/python/cpython2/Demo/sockets/
H A Dmcast.py19 import socket namespace
32 addrinfo = socket.getaddrinfo(group, None)[0]
34 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
38 if addrinfo[0] == socket.AF_INET: # IPv4
39 s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl_bin)
41 s.setsockopt(socket.IPPROTO_IPV6, socket
[all...]
/external/apache-http/src/org/apache/http/impl/
H A DSocketHttpClientConnection.java66 private Socket socket = null; field in class:SocketHttpClientConnection
85 final Socket socket,
88 return new SocketInputBuffer(socket, buffersize, params);
92 final Socket socket,
95 return new SocketOutputBuffer(socket, buffersize, params);
99 final Socket socket,
101 if (socket == null) {
107 this.socket = socket;
112 createSessionInputBuffer(socket, buffersiz
84 createSessionInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument
91 createSessionOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument
98 bind( final Socket socket, final HttpParams params) argument
[all...]
H A DSocketHttpServerConnection.java66 private Socket socket = null; field in class:SocketHttpServerConnection
85 final Socket socket,
88 return new SocketInputBuffer(socket, buffersize, params);
92 final Socket socket,
95 return new SocketOutputBuffer(socket, buffersize, params);
98 protected void bind(final Socket socket, final HttpParams params) throws IOException { argument
99 if (socket == null) {
105 this.socket = socket;
110 createHttpDataReceiver(socket, buffersiz
84 createHttpDataReceiver( final Socket socket, int buffersize, final HttpParams params) argument
91 createHttpDataTransmitter( final Socket socket, int buffersize, final HttpParams params) argument
[all...]
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]

Completed in 5979 milliseconds

1234567891011>>