/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
socketvar.h | 3 #include <sys/socket.h>
|
/development/tools/axl/ |
udpEater.py | 24 import time, socket, string namespace 29 svrsocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 30 svrsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 33 hostname = socket.gethostname() 34 ip = socket.gethostbyname(hostname)
|
udpServer.py | 2 import time, socket, string namespace 9 svrsocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 10 svrsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 13 # hostname = socket.gethostname() 15 ip = socket.gethostbyname(hostname)
|
/external/qemu/slirp/ |
socket.h | 17 * Our socket structure 20 struct socket { struct 21 struct socket *so_next,*so_prev; /* For a linked list of sockets */ 23 int s; /* The actual socket */ 38 u_int8_t so_emu; /* Is the socket emulated? */ 40 u_char so_type; /* Type of socket, UDP or TCP */ 44 u_int so_expire; /* When the socket will expire */ 46 int so_queued; /* Number of packets queued from this socket */ 58 * Socket state bits. (peer means the host on the Internet, 63 #define SS_ISFCONNECTING 0x002 /* Socket is connecting to peer (non-blocking connect()'s) * [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
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...] |
SSLSocketWrapper.java | 23 import java.net.Socket; 28 * This class wraps the SSL fuctionality over existing conneted socket. 32 private final Socket socket; field in class:SSLSocketWrapper 35 protected SSLSocketWrapper(Socket socket, boolean autoClose, SSLParametersImpl sslParameters) throws IOException { 37 if (!socket.isConnected()) { 38 throw new SocketException("Socket is not connected."); 40 this.socket = socket; [all...] |
/bionic/libc/unistd/ |
recv.c | 29 #include <sys/socket.h> 31 ssize_t recv(int socket, void *buf, size_t buflen, unsigned int flags) 33 return recvfrom(socket, buf, buflen, flags, NULL, 0);
|
send.c | 29 #include <sys/socket.h> 31 ssize_t send(int socket, const void *buf, size_t buflen, unsigned int flags) 33 return (ssize_t) sendto(socket, buf, buflen, flags, NULL, 0);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
basicpacketsocketfactory.cc | 56 talk_base::AsyncSocket* socket = local 58 if (!socket) { 61 if (BindSocket(socket, address, min_port, max_port) < 0) { 63 << socket->GetError(); 64 delete socket; 67 return new talk_base::AsyncUDPSocket(socket); 73 talk_base::AsyncSocket* socket = local 75 if (!socket) { 79 if (BindSocket(socket, local_address, min_port, max_port) < 0) { 81 << socket->GetError() 97 talk_base::AsyncSocket* socket = local [all...] |
socketstream.h | 41 explicit SocketStream(AsyncSocket* socket); 44 void Attach(AsyncSocket* socket); 60 void OnConnectEvent(AsyncSocket* socket); 61 void OnReadEvent(AsyncSocket* socket); 62 void OnWriteEvent(AsyncSocket* socket); 63 void OnCloseEvent(AsyncSocket* socket, int err);
|
/external/apache-http/src/org/apache/http/impl/ |
SocketHttpClientConnection.java | 36 import java.net.Socket; 49 * network Socket in order to receive and transmit data. 61 private Socket socket = null; field in class:SocketHttpClientConnection 80 final Socket socket, 83 return new SocketInputBuffer(socket, buffersize, params); 87 final Socket socket, 90 return new SocketOutputBuffer(socket, buffersize, params) [all...] |
SocketHttpServerConnection.java | 36 import java.net.Socket; 49 * network Socket in order to receive and transmit data. 61 private Socket socket = null; field in class:SocketHttpServerConnection 80 final Socket socket, 83 return new SocketInputBuffer(socket, buffersize, params); 87 final Socket socket, 90 return new SocketOutputBuffer(socket, buffersize, params) [all...] |
/external/qemu/slirp-android/ |
socket.h | 17 * Our socket structure 20 struct socket { struct 21 struct socket *so_next,*so_prev; /* For a linked list of sockets */ 23 int s; /* The actual socket */ 39 u_int8_t so_emu; /* Is the socket emulated? */ 41 u_char so_type; /* Type of socket, UDP or TCP */ 45 u_int so_expire; /* When the socket will expire */ 47 int so_queued; /* Number of packets queued from this socket */ 59 * Socket state bits. (peer means the host on the Internet, 64 #define SS_ISFCONNECTING 0x002 /* Socket is connecting to peer (non-blocking connect()'s) * [all...] |
/system/core/include/cutils/ |
uevent.h | 21 #include <sys/socket.h> 28 ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length);
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldDatagramPacketTest.java | 44 DatagramSocket socket = null; 46 socket = new DatagramSocket(port); 51 socket.setSoTimeout(3000); 54 socket.receive(packet); 55 socket.send(packet); 56 socket.close(); 59 if (socket != null) 60 socket.close(); 66 DatagramSocket socket = null; local 68 socket = new DatagramSocket(ports[1]) [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
SocketInputBuffer.java | 36 import java.net.Socket; 44 * {@link Socket} bound session input buffer. 54 private final Socket socket; field in class:SocketInputBuffer 57 final Socket socket, 61 if (socket == null) { 62 throw new IllegalArgumentException("Socket may not be null"); 64 this.socket = socket; [all...] |
SocketOutputBuffer.java | 35 import java.net.Socket; 41 * {@link Socket} bound session output buffer. 52 final Socket socket, 56 if (socket == null) { 57 throw new IllegalArgumentException("Socket may not be null"); 64 init(socket.getOutputStream(), 8192, params);
|
/external/quake/quake/src/WinQuake/ |
net_bw.h | 26 int BW_CloseSocket (int socket);
27 int BW_Connect (int socket, struct qsockaddr *addr);
29 int BW_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int BW_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
31 int BW_Broadcast (int socket, byte *buf, int len);
34 int BW_GetSocketAddr (int socket, struct qsockaddr *addr);
|
net_ipx.h | 26 int IPX_CloseSocket (int socket);
27 int IPX_Connect (int socket, struct qsockaddr *addr);
29 int IPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int IPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
31 int IPX_Broadcast (int socket, byte *buf, int len);
34 int IPX_GetSocketAddr (int socket, struct qsockaddr *addr);
|
net_mp.h | 26 int MPATH_CloseSocket (int socket);
27 int MPATH_Connect (int socket, struct qsockaddr *addr);
29 int MPATH_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int MPATH_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
31 int MPATH_Broadcast (int socket, byte *buf, int len);
34 int MPATH_GetSocketAddr (int socket, struct qsockaddr *addr);
|
net_udp.h | 26 int UDP_CloseSocket (int socket); 27 int UDP_Connect (int socket, struct qsockaddr *addr); 29 int UDP_Read (int socket, byte *buf, int len, struct qsockaddr *addr); 30 int UDP_Write (int socket, byte *buf, int len, struct qsockaddr *addr); 31 int UDP_Broadcast (int socket, byte *buf, int len); 34 int UDP_GetSocketAddr (int socket, struct qsockaddr *addr);
|
net_wins.h | 26 int WINS_CloseSocket (int socket);
27 int WINS_Connect (int socket, struct qsockaddr *addr);
29 int WINS_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int WINS_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
31 int WINS_Broadcast (int socket, byte *buf, int len);
34 int WINS_GetSocketAddr (int socket, struct qsockaddr *addr);
|
net_wipx.h | 26 int WIPX_CloseSocket (int socket);
27 int WIPX_Connect (int socket, struct qsockaddr *addr);
29 int WIPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int WIPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
31 int WIPX_Broadcast (int socket, byte *buf, int len);
34 int WIPX_GetSocketAddr (int socket, struct qsockaddr *addr);
|
/frameworks/base/core/java/android/net/ |
LinkSocketNotifier.java | 32 * If the duplicate socket is accepted, the original will be marked invalid 53 * @param socket the LinkSocket that lost its link 60 public void onLinkLost(LinkSocket socket); 66 * @param socket the LinkSocket for which a new link was not found 73 public void onNewLinkUnavailable(LinkSocket socket); 78 * @param socket the linkSocet for which capabilities have changed 87 public void onCapabilitiesChanged(LinkSocket socket, LinkCapabilities changedCapabilities);
|
/system/core/include/sysutils/ |
NetlinkListener.h | 36 NetlinkListener(int socket); 37 NetlinkListener(int socket, int format); 39 NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
|