Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 24 of 24) sorted by relevance

/net-tools-3.6.0/
Dtcptest.py19 import socket
23 if not hasattr(socket, 'if_nametoindex'):
36 scope_id = socket.if_nametoindex(iface)
42 sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM, socket.IPPROTO_TCP)
Dnet-capture.py18 import socket
82 sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
83 sock.setsockopt(socket.SOL_SOCKET, socket.SO_BINDTODEVICE,
Dhttps-server.py17 import socket
25 address_family = socket.AF_INET6
45 httpd.socket = ssl.wrap_socket(httpd.socket,
Dhttp-server.py3 import socket
10 address_family = socket.AF_INET6
DREADME.legacy7 is connected to a unix socket that qemu is providing. This
12 through a UNIX socket (qemu option -serial unix:/tmp/slip-socket).
72 to create a tun device that is connected to a unix socket that
77 through a UNIX socket (qemu option -serial unix:/tmp/slip-socket).
Dthroughput-client.c234 sk = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in get_ifindex()
432 fd = socket(family, SOCK_DGRAM, IPPROTO_UDP); in main()
Decho-client.c284 sk = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in get_ifindex()
503 fd = socket(family, tcp ? SOCK_STREAM : SOCK_DGRAM, in main()
Decho-server.c62 sk = socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in get_ifindex()
83 fd = socket(family, proto == IPPROTO_TCP ? SOCK_STREAM : SOCK_DGRAM, in get_socket()
DREADME.md76 Be sure to use Python 3, as it requires a function from the socket module
Dtunslip6.c419 if((fd = socket(p->ai_family, p->ai_socktype, in get_slipfd()
Dcoap-client.c395 sk = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in get_ifindex()
1670 fd = socket(family, SOCK_DGRAM, IPPROTO_UDP);
/net-tools-3.6.0/docker/
Dsyslog-receiver.py9 import socket
18 family = socket.AF_INET6
20 family = socket.AF_INET
22 UDPServerSocket = socket.socket(family=family,
23 type=socket.SOCK_DGRAM)
Dhttps-server.py17 import socket
25 address_family = socket.AF_INET6
49 httpd.socket = ssl.wrap_socket (httpd.socket,
Dhttp-server.py3 import socket
10 address_family = socket.AF_INET6
/net-tools-3.6.0/tinydtls-0.8.2/
Dconfigure.in50 AC_SEARCH_LIBS([socket], [socket])
85 …db.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/param.h sys/socket.h unistd.h])
101 AC_CHECK_FUNCS([memset select socket strdup strerror strnlen fls vprintf])
Ddtls_config.h.in49 /* Define to 1 if you have the `socket' function. */
79 /* Define to 1 if you have the <sys/socket.h> header file. */
Dconfigure3917 char socket ();
3921 return socket ();
3926 for ac_lib in '' socket; do
4007 …etdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/param.h sys/socket.h unistd.h
4180 for ac_func in memset select socket strdup strerror strnlen fls vprintf
/net-tools-3.6.0/python-websocket-server/websocket_server/
Dwebsocket_server.py9 from socket import error as SocketError
124 self.port = self.socket.getsockname()[1]
166 def __init__(self, socket, addr, server): argument
168 StreamRequestHandler.__init__(self, socket, addr, server)
/net-tools-3.6.0/mbedtls-2.4.0/library/
Dnet_sockets.c157 ctx->fd = (int) socket( cur->ai_family, cur->ai_socktype, in mbedtls_net_connect()
206 ctx->fd = (int) socket( cur->ai_family, cur->ai_socktype, in mbedtls_net_bind()
369 ( bind_ctx->fd = (int) socket( local_addr.ss_family, in mbedtls_net_accept()
/net-tools-3.6.0/mbedtls-2.4.0/programs/ssl/
Dmini_client.c256 if( ( server_fd.fd = socket( AF_INET, SOCK_STREAM, 0 ) ) < 0 ) in main()
/net-tools-3.6.0/libcoap/
Dconfigure.ac271 stdlib.h string.h strings.h sys/socket.h sys/time.h \
280 AC_CHECK_FUNCS([memset select socket strcasecmp strrchr getaddrinfo \
284 AC_SEARCH_LIBS([socket], [socket])
/net-tools-3.6.0/tinydtls-0.8.2/tests/
Ddtls-server.c317 fd = socket(listen_addr.sin6_family, SOCK_DGRAM, 0);
Ddtls-client.c431 fd = socket(dst.addr.sa.sa_family, SOCK_DGRAM, 0);
/net-tools-3.6.0/libcoap/src/
Dcoap_io.c121 int sockfd = socket(addr->addr.sa.sa_family, SOCK_DGRAM, 0); in coap_new_endpoint()