/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...] |
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_;
|
/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);
|
/external/chromium/chrome/browser/debugger/ |
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_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_;
|
/external/ipsec-tools/src/racoon/ |
sockmisc.c | 38 #include <sys/socket.h> 70 #define SOCKET socket 76 #define SOCKET privsep_socket 227 if ((s = SOCKET(remote->sa_family, SOCK_DGRAM, 0)) < 0) { 229 "socket (%s)\n", strerror(errno)); 260 * setsockopt() have already performed on socket. 586 * Use newly opened socket for sending packets. 592 sendsock = SOCKET(src->sa_family, SOCK_DGRAM, 0); 595 "socket (%s)\n", strerror(errno)) [all...] |
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 67 import java.net.Socket; 401 onRoutedRequest(SOCKET); 404 private final static int SOCKET = 1; 421 case SOCKET: 509 Socket socket = null; local 511 socket = new Socket(remote, 80, local, 6000); 513 Log.e(TAG, "Exception creating socket: " + e); 517 PrintWriter out = new PrintWriter(socket.getOutputStream(), true) 546 Socket socket = null; local [all...] |
/external/libxml2/ |
nanoftp.c | 32 #include <sys/socket.h> 56 #include <sys/socket.h> 95 #define SOCKET int 131 struct sockaddr_in ftpAddr; /* the socket address struct */ 134 SOCKET controlFd; /* the file descriptor for the control socket */ 135 SOCKET dataFd; /* the file descriptor for the data socket */ 157 s = socket (AF_INET6, SOCK_STREAM, 0); 916 ctxt->controlFd = socket (AF_INET6, SOCK_STREAM, 0) [all...] |
nanohttp.c | 31 #include <sys/socket.h> 74 #define SOCKET int 101 #define SOCKET int 113 #ifndef SOCKET 114 #define SOCKET int 138 SOCKET fd; /* the file descriptor for the socket */ 196 s = socket (AF_INET6, SOCK_STREAM, 0); 466 ** socket to be writable or default timeout prior 794 * @addr: a socket address structur [all...] |
/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);
|
/external/quake/quake/src/WinQuake/ |
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...] |