Home
last modified time | relevance | path

Searched refs:sock (Results 1 – 5 of 5) sorted by relevance

/net-tools-2.7.6/
Dtcptest.py42 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))
Dnet-capture.py82 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)
Dloop-socat.sh28 rm -f /tmp/slip.sock
31 socat PTY,link=/tmp/slip.dev UNIX-LISTEN:/tmp/slip.sock
DREADME.legacy16 $ 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
Decho-server.c262 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()