/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/socket/ |
ServerSocketFactory.java | 16 package org.mockftpserver.core.socket;
|
SocketFactory.java | 16 package org.mockftpserver.core.socket;
20 import java.net.Socket;
23 * Interface for factory that create new {@link Socket} instances.
33 * Create a new Socket instance for the specified host and port.
34 * @param host - the IP address of the host endpoint to which the socket is connect
35 * @param port - the port number of the enpoint to which the socket is connected
36 * @return a new Socket
39 public Socket createSocket(InetAddress host, int port) throws IOException;
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/socket/ |
DefaultServerSocketFactory.java | 16 package org.mockftpserver.core.socket;
36 * @see org.mockftpserver.core.socket.ServerSocketFactory#createServerSocket(int)
|
ServerSocketFactory.java | 16 package org.mockftpserver.core.socket;
|
SocketFactory.java | 16 package org.mockftpserver.core.socket;
20 import java.net.Socket;
23 * Interface for factory that create new {@link Socket} instances.
33 * Create a new Socket instance for the specified host and port.
34 * @param host - the IP address of the host endpoint to which the socket is connect
35 * @param port - the port number of the enpoint to which the socket is connected
36 * @return a new Socket
39 public Socket createSocket(InetAddress host, int port) throws IOException;
|
/external/scapy/scapy/layers/ |
pflog.py | 22 ByteEnumField("addrfamily", 2, {socket.AF_INET: "IPv4", 23 socket.AF_INET6: "IPv6"}), 56 bind_layers(PFLog, IP, addrfamily=socket.AF_INET) 58 bind_layers(PFLog, IPv6, addrfamily=socket.AF_INET6)
|
/external/strace/ |
msghdr.h | 5 # include <sys/socket.h>
|
shutdown.c | 34 #include <sys/socket.h>
|
/external/valgrind/none/tests/ |
fdleak_socketpair.c | 1 #include <sys/socket.h>
|
/external/webrtc/webrtc/base/ |
asyncudpsocket.h | 24 // Binds |socket| and creates AsyncUDPSocket for it. Takes ownership 25 // of |socket|. Returns NULL if bind() fails (|socket| is destroyed 27 static AsyncUDPSocket* Create(AsyncSocket* socket, 29 // Creates a new socket for sending asynchronous UDP packets using an 30 // asynchronous socket from the given factory. 33 explicit AsyncUDPSocket(AsyncSocket* socket); 48 int GetOption(Socket::Option opt, int* value) override; 49 int SetOption(Socket::Option opt, int value) override; 54 // Called when the underlying socket is ready to be read from [all...] |
/external/webrtc/webrtc/p2p/base/ |
teststunserver.h | 25 rtc::AsyncSocket* socket = local 28 rtc::AsyncUDPSocket::Create(socket, addr); 39 explicit TestStunServer(rtc::AsyncUDPSocket* socket) : StunServer(socket) {}
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
IObexConnectionHandler.java | 30 boolean onConnect(BluetoothDevice device, BluetoothSocket socket);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/caif/ |
if_caif.h | 11 #include <linux/socket.h>
|
/system/bt/hci/src/ |
hci_inject.cc | 34 #include "osi/include/socket.h" 45 socket_t* socket; member in struct:__anon1869 53 static void accept_ready(socket_t* socket, void* context); 54 static void read_ready(socket_t* socket, void* context); 127 static void accept_ready(socket_t* socket, UNUSED_ATTR void* context) { 128 CHECK(socket != NULL); 129 CHECK(socket == listen_socket); 131 socket = socket_accept(socket); 132 if (!socket) return [all...] |
/device/generic/goldfish/libqemu/ |
test_util.c | 17 #include <sys/socket.h> 50 pipe->socket = -1; 52 fd = socket( AF_INET, SOCK_STREAM, 0 ); 54 fprintf(stderr, "%s: Can't create socket!!\n", __FUNCTION__); 70 pipe->socket = fd; 77 pipe->socket = qemu_pipe_open(pipename); 78 if (pipe->socket < 0) { 91 ret = write(pipe->socket, ptr, bufflen); 114 ret = read(pipe->socket, buff, bufflen); 133 if (pipe->socket >= 0) [all...] |
/external/deqp/framework/delibs/deutil/ |
deSocket.h | 23 * \brief Socket abstraction. 25 * Socket API is thread-safe except to: 35 /* Socket types. */ 102 /* Socket API, similar to Berkeley sockets. */ 119 void deSocket_destroy (deSocket* socket); 121 deSocketState deSocket_getState (const deSocket* socket); 122 deUint32 deSocket_getOpenChannels (const deSocket* socket); 124 deBool deSocket_setFlags (deSocket* socket, deUint32 flags); 126 deBool deSocket_listen (deSocket* socket, const deSocketAddress* address); 127 deSocket* deSocket_accept (deSocket* socket, deSocketAddress* clientAddress) [all...] |
/bionic/libc/kernel/uapi/linux/ |
net.h | 21 #include <linux/socket.h> 22 #include <asm/socket.h>
|
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
FileTransferService.java | 17 import java.net.Socket; 21 * socket connection with the WiFi Direct Group Owner and writing the file 50 Socket socket = new Socket(); local 54 Log.d(MainActivity.TAG, "Opening client socket - "); 55 socket.bind(null); 56 socket.connect((new InetSocketAddress(host, port)), SOCKET_TIMEOUT); 58 Log.d(MainActivity.TAG, "Client socket - " + socket.isConnected()) [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
FileTransferService.java | 17 import java.net.Socket; 21 * socket connection with the WiFi Direct Group Owner and writing the file 50 Socket socket = new Socket(); local 54 Log.d(WiFiDirectActivity.TAG, "Opening client socket - "); 55 socket.bind(null); 56 socket.connect((new InetSocketAddress(host, port)), SOCKET_TIMEOUT); 58 Log.d(WiFiDirectActivity.TAG, "Client socket - " + socket.isConnected()) [all...] |
/device/google/cuttlefish_common/host/libs/ivserver/ |
qemu_client.cc | 23 const cvd::SharedFD& socket) { 25 if (!socket->IsOpen()) { 26 LOG(WARNING) << "Invalid socket passed to QemuClient: " 27 << socket->StrError(); 31 res.reset(new QemuClient(std::move(socket))); 40 QemuClient::QemuClient(cvd::SharedFD socket) : client_socket_(socket) {} 69 LOG(ERROR) << "Failed to send Shared Memory socket: " 108 const cvd::SharedFD& socket) { 113 cvd::SharedFD fds[] = {socket}; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
unixserver.py | 5 from socket import *
7 FILE = 'unix-socket'
8 s = socket(AF_UNIX, SOCK_STREAM)
|
/external/android-clat/ |
mtu.c | 22 #include <sys/socket.h> 36 fd = socket(AF_INET, SOCK_STREAM, 0);
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
ClientEndpoint.java | 32 * socket. 35 private final SSLSocket socket; field in class:ClientEndpoint 41 socket = channelType.newClientSocket(socketFactory, InetAddress.getLoopbackAddress(), port); 42 socket.setEnabledProtocols(protocols); 43 socket.setEnabledCipherSuites(ciphers); 48 socket.startHandshake(); 49 input = socket.getInputStream(); 50 output = socket.getOutputStream(); 59 socket.close(); 86 // The socket was broken. Just treat like EOF [all...] |
/external/kernel-headers/original/uapi/linux/ |
net.h | 3 * NET An implementation of the SOCKET network access protocol. 22 #include <linux/socket.h> 23 #include <asm/socket.h> 50 SS_UNCONNECTED, /* unconnected to any socket */ 52 SS_CONNECTED, /* connected to socket */
|
/external/libpcap/lbl/ |
os-ultrix4.h | 35 int socket(int, int, int);
|