Searched refs:sock (Results 1 – 5 of 5) sorted by relevance
/net-tools-3.5.0/ |
D | tcptest.py | 42 sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM, socket.IPPROTO_TCP) variable 43 sock.connect((addr, 4242, 0, scope_id)) 46 sock.setblocking(False) 62 _, wlist, _ = select.select([], [sock], [], 1) 71 sent_bytes = sock.send(current_n_bytes) 80 rlist, _, _ = select.select([sock], [], [], 1) 87 rcvd_bytes = sock.recv(len(current_n_bytes))
|
D | net-capture.py | 82 sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM) variable 83 sock.setsockopt(socket.SOL_SOCKET, socket.SO_BINDTODEVICE, 85 sock.bind(('', port)) 98 data, address = sock.recvfrom(4096)
|
D | loop-socat.sh | 28 rm -f /tmp/slip.sock 31 socat PTY,link=/tmp/slip.dev UNIX-LISTEN:/tmp/slip.sock
|
D | echo-server.c | 262 static int join_mc_group(int sock, int ifindex, int family, void *addr, in join_mc_group() argument 273 ret = setsockopt(sock, family_to_level(family), MCAST_JOIN_GROUP, in join_mc_group() 280 ret = setsockopt(sock, family_to_level(family), in join_mc_group() 284 ret = setsockopt(sock, family_to_level(family), in join_mc_group()
|
D | README.legacy | 16 $ socat PTY,link=/tmp/slip.dev UNIX-LISTEN:/tmp/slip.sock 25 QEMU_EXTRA_FLAGS="-serial none -serial unix:/tmp/slip.sock" qemu 81 $ socat PTY,link=/tmp/slip.dev UNIX-LISTEN:/tmp/slip.sock 90 QEMU_EXTRA_FLAGS="-serial none -serial unix:/tmp/slip.sock" qemu
|