Searched refs:socket (Results 1 – 24 of 24) sorted by relevance
/net-tools-3.6.0/ |
D | tcptest.py | 19 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)
|
D | net-capture.py | 18 import socket 82 sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM) 83 sock.setsockopt(socket.SOL_SOCKET, socket.SO_BINDTODEVICE,
|
D | https-server.py | 17 import socket 25 address_family = socket.AF_INET6 45 httpd.socket = ssl.wrap_socket(httpd.socket,
|
D | http-server.py | 3 import socket 10 address_family = socket.AF_INET6
|
D | README.legacy | 7 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).
|
D | throughput-client.c | 234 sk = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in get_ifindex() 432 fd = socket(family, SOCK_DGRAM, IPPROTO_UDP); in main()
|
D | echo-client.c | 284 sk = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in get_ifindex() 503 fd = socket(family, tcp ? SOCK_STREAM : SOCK_DGRAM, in main()
|
D | echo-server.c | 62 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()
|
D | README.md | 76 Be sure to use Python 3, as it requires a function from the socket module
|
D | tunslip6.c | 419 if((fd = socket(p->ai_family, p->ai_socktype, in get_slipfd()
|
D | coap-client.c | 395 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/ |
D | syslog-receiver.py | 9 import socket 18 family = socket.AF_INET6 20 family = socket.AF_INET 22 UDPServerSocket = socket.socket(family=family, 23 type=socket.SOCK_DGRAM)
|
D | https-server.py | 17 import socket 25 address_family = socket.AF_INET6 49 httpd.socket = ssl.wrap_socket (httpd.socket,
|
D | http-server.py | 3 import socket 10 address_family = socket.AF_INET6
|
/net-tools-3.6.0/tinydtls-0.8.2/ |
D | configure.in | 50 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])
|
D | dtls_config.h.in | 49 /* Define to 1 if you have the `socket' function. */ 79 /* Define to 1 if you have the <sys/socket.h> header file. */
|
D | configure | 3917 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/ |
D | websocket_server.py | 9 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/ |
D | net_sockets.c | 157 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/ |
D | mini_client.c | 256 if( ( server_fd.fd = socket( AF_INET, SOCK_STREAM, 0 ) ) < 0 ) in main()
|
/net-tools-3.6.0/libcoap/ |
D | configure.ac | 271 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/ |
D | dtls-server.c | 317 fd = socket(listen_addr.sin6_family, SOCK_DGRAM, 0);
|
D | dtls-client.c | 431 fd = socket(dst.addr.sa.sa_family, SOCK_DGRAM, 0);
|
/net-tools-3.6.0/libcoap/src/ |
D | coap_io.c | 121 int sockfd = socket(addr->addr.sa.sa_family, SOCK_DGRAM, 0); in coap_new_endpoint()
|