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

1 2

  /external/bluetooth/bluedroid/udrv/ulinux/
uipc_linux.h 21 typedef int SOCKET;
22 #define INVALID_SOCKET (SOCKET)(-1)
25 /* tcp/ip socket configuration */
36 /* Socket configuration for GLGPS interface */
  /external/chromium/net/base/
listen_socket.h 32 typedef int SOCKET;
35 // Implements a raw socket interface
45 // to split up the listener from the connected socket. Perhaps this class
51 // server is the original listening Socket, connection is the new
52 // Socket that was created. Ownership of connection is transferred
66 // Send data to the socket.
86 static const SOCKET kInvalidSocket;
89 ListenSocket(SOCKET s, ListenSocketDelegate* del);
91 static SOCKET Listen(std::string ip, int port);
92 // if valid, returned SOCKET is non-blockin
    [all...]
net_log_source_type_list.h 14 SOURCE_TYPE(SOCKET, 5)
listen_socket.cc 14 #include <sys/socket.h>
40 const SOCKET ListenSocket::kInvalidSocket = INVALID_SOCKET;
43 const SOCKET ListenSocket::kInvalidSocket = -1;
49 SOCKET s = Listen(ip, port);
85 ListenSocket::ListenSocket(SOCKET s, ListenSocketDelegate *del)
107 SOCKET ListenSocket::Listen(std::string ip, int port) {
108 SOCKET s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
132 SOCKET ListenSocket::Accept(SOCKET s)
    [all...]
listen_socket_unittest.h 14 #include <sys/socket.h>
33 #define SOCKET int
80 // read all pending data from the test socket
93 virtual bool Send(SOCKET sock, const std::string& str);
106 SOCKET test_socket_;
  /hardware/ti/wlan/wl1271/CUDK/os/linux/src/
os_trans.c 19 #include <sys/socket.h>
36 SOCKET socket_id;
39 socket_id = socket(PF_INET, SOCK_STREAM, 0);
43 /* Error opening socket */
44 os_error_printf(CU_MSG_ERROR, "%s: error opening socket.\n", __FUNCTION__);
49 /* Configure the socket */
53 /* Error setting socket option */
54 os_error_printf(CU_MSG_ERROR, "%s: error setting socket option. Error %d\n", __FUNCTION__, os_get_last_error());
55 close(socket_id); //close socket
74 result = bind((SOCKET)sock, (struct sockaddr *)&server_addr, sizeof(server_addr))
    [all...]
  /external/quake/quake/src/QW/client/
winquake.h 99 SOCKET (PASCAL FAR *psocket)(int af, int type, int protocol);
100 int (PASCAL FAR *pioctlsocket)(SOCKET s, long cmd, u_long FAR *argp);
101 int (PASCAL FAR *psetsockopt)(SOCKET s, int level, int optname,
103 int (PASCAL FAR *precvfrom)(SOCKET s, char FAR * buf, int len, int flags,
105 int (PASCAL FAR *psendto)(SOCKET s, const char FAR * buf, int len, int flags,
107 int (PASCAL FAR *pclosesocket)(SOCKET s);
112 int (PASCAL FAR *pgetsockname)(SOCKET s, struct sockaddr FAR *name,
  /external/quake/quake/src/WinQuake/
winquake.h 100 SOCKET (PASCAL FAR *psocket)(int af, int type, int protocol);
101 int (PASCAL FAR *pioctlsocket)(SOCKET s, long cmd, u_long FAR *argp);
102 int (PASCAL FAR *psetsockopt)(SOCKET s, int level, int optname,
104 int (PASCAL FAR *precvfrom)(SOCKET s, char FAR * buf, int len, int flags,
106 int (PASCAL FAR *psendto)(SOCKET s, const char FAR * buf, int len, int flags,
108 int (PASCAL FAR *pclosesocket)(SOCKET s);
113 int (PASCAL FAR *pgetsockname)(SOCKET s, struct sockaddr FAR *name,
mpdosock.h 31 typedef u_int SOCKET;
49 SOCKET fd_array[FD_SETSIZE]; /* an array of SOCKETs */
56 extern int PASCAL FAR __WSAFDIsSet(SOCKET, fd_set FAR *);
85 #define FD_ISSET(fd, set) __WSAFDIsSet((SOCKET)(fd), (fd_set FAR *)(set))
134 /* Socket I/O Controls */
201 * Port/socket numbers: network standard functions
217 * Port/socket numbers: host specific functions
305 * Socket address, internet style.
330 #define IP_MAX_MEMBERSHIPS 20 /* per socket; must fit in one mbuf */
342 * taken from the BSD file sys/socket.h.
    [all...]
mplpc.cpp 71 SOCKET s;
77 SOCKET s;
107 SOCKET s;
121 SOCKET s;
136 SOCKET s;
150 SOCKET s;
159 SOCKET s;
167 SOCKET sock[MAXSOCKETS];
378 bind(SOCKET s, const struct sockaddr *name, int namelen)
416 closesocket(SOCKET s)
668 socket(int af, int type, int protocol) function
    [all...]
net_wins.cpp 29 static int net_acceptsocket = -1; // socket for fielding new connections
41 SOCKET (PASCAL FAR *psocket)(int af, int type, int protocol);
42 int (PASCAL FAR *pioctlsocket)(SOCKET s, long cmd, u_long FAR *argp);
43 int (PASCAL FAR *psetsockopt)(SOCKET s, int level, int optname,
45 int (PASCAL FAR *precvfrom)(SOCKET s, char FAR * buf, int len, int flags,
47 int (PASCAL FAR *psendto)(SOCKET s, const char FAR * buf, int len, int flags,
49 int (PASCAL FAR *pclosesocket)(SOCKET s);
54 int (PASCAL FAR *pgetsockname)(SOCKET s, struct sockaddr FAR *name,
142 psocket = (void *)GetProcAddress(hInst, "socket");
231 Con_Printf("WINS_Init: Unable to open control socket\n");
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
physicalsocketserver.h 39 typedef int SOCKET;
66 virtual SOCKET GetSocket() = 0;
74 // A socket server that provides the real sockets of the underlying OS.
81 virtual Socket* CreateSocket(int type);
85 AsyncSocket* WrapSocket(SOCKET s);
win32socketserver.h 37 #include "talk/base/socket.h"
54 int Attach(SOCKET s);
84 void OnSocketNotify(SOCKET socket, int event, int error);
87 SOCKET socket_;
113 virtual Socket* CreateSocket(int type);
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...]
  /external/chromium/chrome/browser/debugger/
devtools_remote_listen_socket_unittest.h 17 #include <sys/socket.h>
39 #define SOCKET int
93 // read all pending data from the test socket
99 virtual bool Send(SOCKET sock, const std::string& str);
119 SOCKET test_socket_;
devtools_remote_listen_socket.cc 17 #include <sys/socket.h>
36 #define SOCKET int
44 SOCKET s,
90 SOCKET s = ListenSocket::Listen(ip, port);
108 // Dispatches data from socket to socket_delegate_, extracting messages
214 SOCKET conn = ListenSocket::Accept(socket_);
devtools_remote_listen_socket.h 17 // socket input and invokes the message handler when appropriate.
42 // The protocol states while reading socket input
50 DevToolsRemoteListenSocket(SOCKET s,
  /external/libxml2/include/libxml/
nanoftp.h 23 * SOCKET:
27 #define SOCKET int
32 * the value to be used when the socket is not valid
136 XMLPUBFUN SOCKET XMLCALL
145 XMLPUBFUN SOCKET XMLCALL
  /hardware/ti/wlan/wl1271/CUDK/os/linux/inc/
os_trans.h 30 typedef int SOCKET;
  /external/chromium/net/socket/
tcp_client_socket_win.h 15 #include "net/socket/client_socket.h"
23 // The IP address(es) and port number to connect to. The TCP socket will try
32 // AdoptSocket causes the given, connected socket to be adopted as a TCP
33 // socket. This object must not be connected. This object takes ownership of
34 // the given socket and then acts as if Connect() had been called. This
37 void AdoptSocket(SOCKET socket);
56 // Socket methods:
66 // State machine for connecting the socket.
104 SOCKET socket_
    [all...]
tcp_server_socket_win.h 15 #include "net/socket/server_socket.h"
32 virtual int Accept(scoped_ptr<ClientSocket>* socket,
39 int AcceptInternal(scoped_ptr<ClientSocket>* socket);
42 SOCKET socket_;
  /external/chromium/net/tools/fetch/
http_listen_socket.h 15 // Implements a simple HTTP listen socket on top of the raw socket interface.
47 HttpListenSocket(SOCKET s, HttpListenSocket::Delegate* del);
http_listen_socket.cc 17 HttpListenSocket::HttpListenSocket(SOCKET s,
32 SOCKET conn = ListenSocket::Accept(socket_);
48 SOCKET s = ListenSocket::Listen(ip, port);
  /external/dbus/dbus/
dbus-sockets-win.h 2 /* dbus-sockets.h Wrappers around socket features (internal to D-BUS implementation)
54 #define DBUS_SOCKET_IS_INVALID(s) ((SOCKET)(s) == INVALID_SOCKET)
62 #include <sys/socket.h>
  /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);

Completed in 630 milliseconds

1 2