HomeSort by relevance Sort by last modified time
    Searched refs:SOCKET (Results 26 - 50 of 74) sorted by null

12 3

  /external/chromium_org/device/bluetooth/
bluetooth_socket_win.cc 35 BluetoothSocketWin::BluetoothSocketWin(SOCKET fd) : fd_(fd) {
48 SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM);
65 LOG(ERROR) << "Failed to connect bluetooth socket "
  /external/chromium/net/tools/fetch/
http_listen_socket.cc 17 HttpListenSocket::HttpListenSocket(SOCKET s,
32 SOCKET conn = ListenSocket::Accept(socket_);
48 SOCKET s = ListenSocket::Listen(ip, port);
  /external/chromium_org/net/base/
winsock_util.cc 58 SOCKET CreatePlatformSocket(int family, int type, int protocol) {
  /external/chromium_org/net/dns/
address_sorter_unittest.cc 44 SOCKET sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
address_sorter_win.cc 90 SOCKET sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
  /external/chromium_org/ppapi/proxy/
plugin_dispatcher_unittest.cc 78 ppapi::proxy::SerializedHandle::SOCKET),
  /external/netperf/
netlib.h 10 # include <sys/socket.h>
327 #define SOCKET int
334 /* the socket from another thread can also return several other errors. */
417 extern SOCKET win_kludge_socket, win_kludge_socket2;
445 extern SOCKET server_sock;
487 extern void set_sock_buffer(SOCKET sd,
507 extern int set_nonblock (SOCKET sock);
nettest_unix.c 47 #include <sys/socket.h>
87 rss_size, /* remote socket send buffer size */
88 rsr_size, /* remote socket recv buffer size */
89 lss_size_req, /* requested local socket send buffer size */
90 lsr_size_req, /* requested local socket recv buffer size */
91 lss_size, /* local socket send buffer size */
92 lsr_size, /* local socket recv buffer size */
110 -s send[,recv] Set local socket send/recv buffer sizes\n\
111 -S send[,recv] Set remote socket send/recv buffer sizes\n\
142 /* This routine will create a data (listen) socket with the apropriate *
    [all...]
netserver.c 111 #include <sys/socket.h>
424 set-up the server listen socket. we only call this routine if the
441 SOCKET server_control;
508 server_control = socket(local_res_temp->ai_family,SOCK_STREAM,0);
511 perror("set_up_server could not allocate a socket");
824 /* listen socket instead of relying on inetd. */
873 /* we want to open a listen socket at a */
957 server_sock = (SOCKET)GetStdHandle(STD_INPUT_HANDLE);
962 open a socket and hang listens off of it. otherwise, we should go
967 /* If fd 0 is not a socket then assume we're not being called *
    [all...]
nettest_bsd.c 102 #include <sys/socket.h>
162 rss_size_req = -1, /* requested remote socket send buffer size */
163 rsr_size_req = -1, /* requested remote socket recv buffer size */
164 rss_size, /* remote socket send buffer size */
165 rsr_size, /* remote socket recv buffer size */
166 lss_size_req = -1, /* requested local socket send buffer size */
167 lsr_size_req = -1, /* requested local socket recv buffer size */
168 lss_size, /* local socket send buffer size */
169 lsr_size, /* local socket recv buffer size */
197 local_connected = 0, /* local socket type, connected/non-connected *
    [all...]
  /external/chromium_org/chrome/utility/local_discovery/
service_discovery_message_handler.cc 62 virtual SOCKET CreateSocket(int family, int type, int protocol) OVERRIDE {
63 SOCKET result = INVALID_SOCKET;
74 SOCKET socket_v4_;
75 SOCKET socket_v6_;
117 // TODO(vitalybuka) : implement socket access from sandbox for other
  /external/chromium_org/net/socket/
stream_listen_socket.h 5 // Stream-based listen socket implementation that handles reading and writing
6 // to the socket, but does not handle creating the socket nor connecting
34 #include "net/socket/stream_listen_socket.h"
39 typedef SOCKET SocketDescriptor;
56 // to split up the listener from the connected socket. Perhaps this class
60 // |server| is the original listening Socket, connection is the new
61 // Socket that was created. Ownership of |connection| is transferred
74 // Send data to the socket.
121 // Called by MessagePumpLibevent when the socket is ready to do I/O
    [all...]
tcp_client_socket_win.cc 5 #include "net/socket/tcp_client_socket_win.h"
24 #include "net/socket/socket_net_log_params.h"
33 bool SetSocketReceiveBufferSize(SOCKET socket, int32 size) {
34 int rv = setsockopt(socket, SOL_SOCKET, SO_RCVBUF,
36 DCHECK(!rv) << "Could not set socket receive buffer size: " << GetLastError();
40 bool SetSocketSendBufferSize(SOCKET socket, int32 size) {
41 int rv = setsockopt(socket, SOL_SOCKET, SO_SNDBUF,
43 DCHECK(!rv) << "Could not set socket send buffer size: " << GetLastError()
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
physicalsocketserver.cc 109 PhysicalSocket(PhysicalSocketServer* ss, SOCKET s = INVALID_SOCKET)
135 // Creates the underlying OS socket (same as the "socket" function).
138 s_ = ::socket(AF_INET, type, 0);
155 LOG(LS_WARNING) << "GetLocalAddress: unable to get local addr, socket="
170 LOG(LS_WARNING) << "GetRemoteAddress: unable to get remote addr, socket="
274 // Suppress SIGPIPE. Without this, attempting to send on a socket whose
320 LOG(LS_WARNING) << "EOF from socket; deferring close event";
373 SOCKET s = ::accept(s_, (sockaddr*)&saddr, &cbAddr);
483 LOG(LS_WARNING) << "Socket::OPT_DONTFRAGMENT not supported."
    [all...]
win32socketserver.cc 82 description = "Using a non-blocking socket, will notify later";
215 parent_->OnSocketNotify(static_cast<SOCKET>(wParam), wsa_event, wsa_error);
260 int Win32Socket::Attach(SOCKET s) {
293 LOG(LS_WARNING) << "GetLocalAddress: unable to get local addr, socket="
310 LOG(LS_WARNING) << "GetRemoteAddress: unable to get remote addr, socket="
391 Socket::ConnState Win32Socket::GetState() const {
468 SOCKET s = ::accept(socket_, reinterpret_cast<sockaddr*>(&saddr), &cbAddr);
474 Win32Socket* socket = new Win32Socket; local
475 if (0 == socket->Attach(s))
476 return socket;
715 Win32Socket* socket = new Win32Socket; local
    [all...]
  /external/antlr/antlr-3.4/runtime/C/include/
antlr3debugeventlistener.h 69 /// The socket structure we receive after a successful accept on the serverSocket
71 SOCKET socket; member in struct:ANTLR3_DEBUG_EVENT_LISTENER_struct
203 * Across a socket for remote debugging, only the RecognitionException
269 * sending events over a socket. A GUI for example will launch a thread
286 /// is in the socket buffer and throw it away.
325 * If you are receiving this event over a socket via
338 * If you are receiving this event over a socket via
346 * If you are receiving this event over a socket via
363 * If you are receiving this event over a socket vi
    [all...]
  /external/chromium/net/udp/
udp_socket_win.h 30 // Connect the socket to connect with a certain |address|.
34 // Bind the address/port for this socket to |address|. This is generally
39 // Close the socket.
53 // Read from the socket.
54 // Only usable from the client-side of a UDP socket, after the socket
58 // Write to the socket.
59 // Only usable from the client-side of a UDP socket, after the socket
63 // Read from a socket and receive sender address information
    [all...]
  /external/chromium_org/net/udp/
udp_socket_win.h 32 // Connect the socket to connect with a certain |address|.
36 // Bind the address/port for this socket to |address|. This is generally
41 // Close the socket.
55 // Read from the socket.
56 // Only usable from the client-side of a UDP socket, after the socket
60 // Write to the socket.
61 // Only usable from the client-side of a UDP socket, after the socket
65 // Read from a socket and receive sender address information
    [all...]
  /external/mdnsresponder/mDNSShared/
dnssd_ipc.h 44 # define dnssd_sock_t SOCKET
57 # include <sys/socket.h>
65 # include <sys/socket.h>
126 connection_request = 1, // connected socket via DNSServiceConnect()
181 // socket connected by DNSServiceCreateConnection(). Must be unique in the scope of the connection, such that and
182 // index/socket pair uniquely identifies a record. (Used to select records for removal by DNSServiceRemoveRecord())
  /external/chromium_org/third_party/libjingle/source/talk/base/
physicalsocketserver.cc 111 PhysicalSocket(PhysicalSocketServer* ss, SOCKET s = INVALID_SOCKET)
137 // Creates the underlying OS socket (same as the "socket" function).
140 s_ = ::socket(family, type, 0);
157 LOG(LS_WARNING) << "GetLocalAddress: unable to get local addr, socket="
172 LOG(LS_WARNING) << "GetRemoteAddress: unable to get remote addr, socket="
279 // Suppress SIGPIPE. Without this, attempting to send on a socket whose
328 LOG(LS_WARNING) << "EOF from socket; deferring close event";
383 SOCKET s = ::accept(s_, addr, &addr_len);
514 LOG(LS_WARNING) << "Socket::OPT_DONTFRAGMENT not supported."
    [all...]
win32socketserver.cc 83 description = "Using a non-blocking socket, will notify later";
216 parent_->OnSocketNotify(static_cast<SOCKET>(wParam), wsa_event, wsa_error);
266 int Win32Socket::Attach(SOCKET s) {
298 LOG(LS_WARNING) << "GetLocalAddress: unable to get local addr, socket="
313 LOG(LS_WARNING) << "GetRemoteAddress: unable to get remote addr, socket="
409 Socket::ConnState Win32Socket::GetState() const {
493 SOCKET s = ::accept(socket_, reinterpret_cast<sockaddr*>(&saddr), &addr_len);
499 Win32Socket* socket = new Win32Socket; local
500 if (0 == socket->Attach(s))
501 return socket;
759 Win32Socket* socket = new Win32Socket; local
    [all...]
  /external/chromium_org/content/renderer/pepper/
pepper_audio_input_host.cc 29 base::PlatformFile ConvertSyncSocketHandle(const base::SyncSocket& socket) {
30 return socket.handle();
84 base::SyncSocket::Handle socket) {
85 OnOpenComplete(PP_OK, shared_memory_handle, shared_memory_size, socket);
160 ppapi::proxy::SerializedHandle::SOCKET);
195 const base::SyncSocket& socket,
200 ConvertSyncSocketHandle(socket), false);
  /external/libxml2/
nanohttp.c 31 #include <sys/socket.h>
105 #define SOCKET int
140 SOCKET fd; /* the file descriptor for the socket */
197 SOCKET s;
199 s = socket (AF_INET6, SOCK_STREAM, 0);
475 * socket to be writable or default timeout prior
834 * @addr: a socket address structure
837 * non-blocking semantic on the socket, and allow 60 seconds for
843 static SOCKET
    [all...]
  /external/chromium_org/third_party/libxml/src/
nanohttp.c 31 #include <sys/socket.h>
78 #define SOCKET int
105 #define SOCKET int
117 #ifndef SOCKET
118 #define SOCKET int
142 SOCKET fd; /* the file descriptor for the socket */
201 s = socket (AF_INET6, SOCK_STREAM, 0);
477 * socket to be writable or default timeout prior
836 * @addr: a socket address structur
    [all...]
  /external/chromium/net/base/
listen_socket_unittest.cc 46 test_socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
177 bool ListenSocketTester::Send(SOCKET sock, const std::string& str) {

Completed in 2339 milliseconds

12 3