HomeSort by relevance Sort by last modified time
    Searched refs:Socket (Results 151 - 175 of 415) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/v8/src/
debug-agent.cc 51 // Allow this socket to reuse port even if still in TIME_WAIT.
54 // First bind the socket to the requested port.
63 PrintF("Failed to open socket on port %d, "
75 Socket* client = server_->Accept();
108 void DebuggerAgent::CreateSession(Socket* client) {
226 // Shutdown the socket to end the blocking receive.
234 SmartArrayPointer<char> DebuggerAgentUtil::ReceiveMessage(const Socket* conn) {
251 PrintF("Error %d\n", Socket::LastError());
313 PrintF("Error %d\n", Socket::LastError());
322 bool DebuggerAgentUtil::SendConnectMessage(const Socket* conn
    [all...]
d8-debug.h 80 i::Socket* conn() { return conn_; }
83 i::Socket* conn_; // Connection to debugger agent in debugged V8.
  /external/chromium/third_party/libjingle/source/talk/base/
socketstream.cc 32 SocketStream::SocketStream(AsyncSocket* socket) : socket_(NULL) {
33 Attach(socket);
40 void SocketStream::Attach(AsyncSocket* socket) {
43 socket_ = socket;
53 AsyncSocket* socket = socket_; local
61 return socket;
67 case Socket::CS_CONNECTED:
69 case Socket::CS_CONNECTING:
71 case Socket::CS_CLOSED:
117 void SocketStream::OnConnectEvent(AsyncSocket* socket) {
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
proxy_unittest.cc 38 using talk_base::Socket;
60 // Sets up a virtual socket server and HTTPS/SOCKS5 proxy servers.
95 talk_base::AsyncSocket* socket = local
98 new talk_base::AsyncSocksProxySocket(socket, kSocksProxyIntAddr,
110 EXPECT_EQ(Socket::CS_CONNECTING, proxy_socket->GetState());
112 EXPECT_EQ(Socket::CS_CONNECTED, proxy_socket->GetState());
122 AsyncSocket* socket = ss()->CreateAsyncSocket(SOCK_STREAM);
124 socket, "unittest/1.0", kHttpsProxyIntAddress, "", CryptString());
socketstream.cc 32 SocketStream::SocketStream(AsyncSocket* socket) : socket_(NULL) {
33 Attach(socket);
40 void SocketStream::Attach(AsyncSocket* socket) {
43 socket_ = socket;
53 AsyncSocket* socket = socket_; local
61 return socket;
67 case Socket::CS_CONNECTED:
69 case Socket::CS_CONNECTING:
71 case Socket::CS_CLOSED:
117 void SocketStream::OnConnectEvent(AsyncSocket* socket) {
    [all...]
natsocketfactory.h 44 // Used by the NAT socket implementation.
54 // from a socket factory, given to the constructor.
60 virtual Socket* CreateSocket(int type);
61 virtual Socket* CreateSocket(int family, int type);
80 // figure out which NAT (if any) the socket should talk to.
148 virtual Socket* CreateSocket(int type);
149 virtual Socket* CreateSocket(int family, int type);
  /external/chromium_org/tools/android/forwarder2/
device_forwarder_main.cc 80 virtual void OnClientConnected(scoped_ptr<Socket> client_socket) OVERRIDE {
93 void StartController(int exit_notifier_fd, scoped_ptr<Socket> client_socket) {
100 "with ADB socket path: %s",
122 virtual void OnDaemonReady(Socket* daemon_socket) OVERRIDE {
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLSocketImplWrapper.java 22 import java.net.Socket;
27 * This class wraps the SSL functionality over an existing connected socket.
31 private Socket socket; field in class:OpenSSLSocketImplWrapper
33 protected OpenSSLSocketImplWrapper(Socket socket, String host, int port,
35 super(socket, host, port, autoClose, sslParameters);
36 if (!socket.isConnected()) {
37 throw new SocketException("Socket is not connected.");
39 this.socket = socket
    [all...]
SSLServerSocketImpl.java 22 import java.net.Socket;
34 // ssl socket, whether it require/want client authentication or not,
36 // socket or not.
243 public Socket accept() throws IOException {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
HttpURLConnectionTest.java 30 import java.net.Socket;
137 Socket client = null;
238 Socket socket = serverSocket.accept();
239 socket.setSoTimeout(5000);
241 int num = socket.getInputStream().read(buff);
242 socket
248 num = socket.getInputStream().read(buff);
251 socket = serverSocket.accept();
252 socket.setSoTimeout(5000)
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
SpdyServer.java 29 import java.net.Socket;
55 Socket socket = serverSocket.accept(); local
57 socket = doSsl(socket);
59 new SpdyConnection.Builder(false, socket).handler(this).build();
63 private Socket doSsl(Socket socket) throws IOException {
65 (SSLSocket) sslSocketFactory.createSocket(socket, socket.getInetAddress().getHostAddress()
    [all...]
  /libcore/luni/src/main/java/java/net/
ServerSocket.java 25 * This class represents a server-side socket that waits for incoming client
27 * appropriate reply. The actual tasks that a server socket must accomplish are
55 * @throws IOException if an error occurs while creating the socket.
67 * @throws IOException if an error occurs while creating the socket.
78 * @throws IOException if an error occurs while creating the socket.
90 * @throws IOException if an error occurs while creating the socket.
113 * This method returns a socket object representing the just opened
116 * @return the connection representing socket.
120 public Socket accept() throws IOException {
123 throw new SocketException("Socket is not bound")
    [all...]
  /libcore/luni/src/main/java/java/nio/
ServerSocketChannelImpl.java 24 import java.net.Socket;
43 private final ServerSocketAdapter socket; field in class:ServerSocketChannelImpl
52 this.socket = new ServerSocketAdapter(this);
53 this.impl = socket.getImpl$();
56 @Override public ServerSocket socket() { method in class:ServerSocketChannelImpl
57 return socket;
68 // Create an empty socket channel. This will be populated by ServerSocketAdapter.accept.
74 socket.implAccept(result);
79 // Otherwise, this is a non-blocking socket and there's nothing ready, so we'll
84 end(result.socket().isConnected())
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.java 28 import java.net.Socket;
47 private Socket[] sockets;
108 * Returns a pair of connected sockets backed by NIO socket channels.
110 private Socket[] newSocketChannelPair() throws IOException {
112 serverSocketChannel.socket().bind(new InetSocketAddress(0));
114 clientSocketChannel.connect(serverSocketChannel.socket().getLocalSocketAddress());
117 return new Socket[] { clientSocketChannel.socket(), server.socket() };
  /external/chromium/net/socket/
ssl_server_socket_nss.h 20 #include "net/socket/ssl_server_socket.h"
27 // |socket| - A socket that is already connected.
31 // |ssl_config| - Options for SSL socket.
33 SSLServerSocketNSS(Socket* transport_socket,
77 PRFileDesc* socket,
80 static void HandshakeCallback(PRFileDesc* socket, void* arg);
112 // Socket for sending and receiving data.
113 scoped_ptr<Socket> transport_socket_;
115 // Options for the SSL socket
    [all...]
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
relayport.h 53 typedef std::pair<talk_base::Socket::Option, int> OptionValue;
76 virtual int SetOption(talk_base::Socket::Option opt, int value);
  /external/chromium_org/chrome/browser/extensions/api/socket/
udp_socket.h 11 #include "chrome/browser/extensions/api/socket/socket.h"
16 class UDPSocket : public Socket {
40 virtual Socket::SocketType GetSocketType() const OVERRIDE;
  /external/chromium_org/v8/src/
d8-debug.h 78 i::Socket* conn() { return conn_; }
82 i::Socket* conn_; // Connection to debugger agent in debugged V8.
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
LocalAcceptThread.java 10 import java.net.Socket;
62 Socket s = null;
88 /* Simply close the local socket and wait for the next incoming connection */
  /libcore/benchmarks/src/benchmarks/regression/
SSLSocketBenchmark.java 25 import java.net.Socket;
96 Socket s = sf.createSocket(webSite.host, webSite.port);
  /libcore/luni/src/main/java/javax/net/ssl/
SSLSocket.java 22 import java.net.Socket;
26 * The extension of {@code Socket} providing secure protocols like SSL (Secure
29 public abstract class SSLSocket extends Socket {
34 * Creates a TCP socket.
42 * Creates a TCP socket connection to the specified host at the specified
50 * if creating the socket fails.
61 * Creates a TCP socket connection to the specified address at the specified
69 * if creating the socket fails.
78 * Creates a TCP socket connection to the specified host at the specified
90 * if creating the socket fails
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldServerSocketTest.java 26 import java.net.Socket;
41 Socket sconn;
70 assertTrue("Server socket not bound when it should be:", theSocket
75 Socket clientSocket = new Socket();
79 Socket servSock = theSocket.accept();
97 Socket cs;
109 cs = new Socket(InetAddress.getLocalHost().getHostName(), port);
218 Socket accepted = newSocket.accept();
225 ServerSocket ss = ssc.socket();
    [all...]
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLContext.java 21 import java.net.Socket;
270 private SSLSocket set(Socket socket) {
271 SSLSocket s = (SSLSocket) socket;
276 public Socket createSocket(String host, int port)
280 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
284 public Socket createSocket(InetAddress host, int port) throws IOException {
287 public Socket createSocket(InetAddress address, int port,
299 public Socket createSocket(Socket s, String host, int port, boolean autoClose
    [all...]
  /development/samples/training/NsdChat/src/com/example/android/nsdchat/
ChatConnection.java 32 import java.net.Socket;
45 private Socket mSocket;
95 private synchronized void setSocket(Socket socket) {
97 if (socket == null) {
98 Log.d(TAG, "Setting a null socket.");
110 mSocket = socket;
113 private Socket getSocket() {
131 Log.e(TAG, "Error when closing server socket.");
197 setSocket(new Socket(mAddress, PORT))
263 Socket socket = getSocket(); local
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultClientConnectionOperator.java 36 import java.net.Socket;
75 /** The scheme registry for looking up socket factories. */
140 Socket sock = plain_sf.createSocket();
144 Socket connsock = plain_sf.connectSocket(sock,
154 * socket before the creation of the layered socket to
155 * ensure that desired socket options such as
157 * before any I/O is performed on the socket. This
165 Socket layeredsock = layered_sf.createSocket(sock,
225 ") must have layered socket factory.")
    [all...]

Completed in 634 milliseconds

1 2 3 4 5 67 8 91011>>