/net-tools-3.4.0/python-websocket-server/tests/ |
D | test_text_messages.py | 2 from utils import session, server 6 client, server = session 7 server.send_message_to_all('$') 12 client, server = session 16 server.send_message_to_all(msg) 21 client, server = session 25 server.send_message_to_all(msg) 30 client, server = session 34 server.send_message_to_all(msg) 39 client, server = session [all …]
|
D | utils.py | 12 def server(): function 23 def session(server): argument 24 ws = create_connection("ws://{}:{}".format(*server.server_address)) 25 yield ws, server
|
/net-tools-3.4.0/python-websocket-server/ |
D | server.py | 4 def new_client(client, server): argument 6 server.send_message_to_all("Hey all, a new client has joined us") 10 def client_left(client, server): argument 15 def message_received(client, server, message): argument 22 server = WebsocketServer(PORT) variable 23 server.set_fn_new_client(new_client) 24 server.set_fn_client_left(client_left) 25 server.set_fn_message_received(message_received) 26 server.run_forever()
|
D | README.md | 4 …m/gh/Pithikos/python-websocket-server/tree/master.svg?style=svg)](https://circleci.com/gh/Pithikos… 15 websocket server for prototyping, testing or for making a GUI for your application. 24 2. `pip install git+https://github.com/Pithikos/python-websocket-server` (latest code) 25 3. `pip install websocket-server` (might not be up-to-date) 27 …server.py*](https://github.com/Pithikos/python-websocket-server/blob/master/server.py) example and… 32 You can get a feel of how to use the websocket server by running 34 python server.py 85 | `set_fn_new_client()` | Called for every new `client` connecting to us | client, server … 86 | `set_fn_client_left()` | Called for every `client` disconnecting from us | client, server … 87 | `set_fn_message_received()` | Called when a `client` sends a `message` | client, server,… [all …]
|
/net-tools-3.4.0/ |
D | zephyr-websocket-server.py | 11 def new_client(client, server): argument 16 def client_left(client, server): argument 20 def message_received(client, server, message): argument 22 server.send_message(client, message) 25 server = WebsocketServer(PORT, host="192.0.2.2", loglevel=logging.INFO) variable 26 server.set_fn_new_client(new_client) 27 server.set_fn_client_left(client_left) 28 server.set_fn_message_received(message_received) 29 server.run_forever()
|
D | Makefile | 1 all: tunslip6 echo-client echo-server monitor_15_4 coap-client dtls-client dtls-server throughput-c… 9 echo-server: echo-server.o 10 $(CC) -o $@ $(CFLAGS) $(LIBS) echo-server.c 42 dtls-server.o: dtls-server.c 43 $(CC) -c -o $@ $(CFLAGS) $(MBEDTLS_CFLAGS) dtls-server.c 45 dtls-server: dtls-server.o $(MBEDTLS_LIB) 46 $(CC) -o $@ $(LIBS) dtls-server.o $(MBEDTLS_LIB) 85 …rm -f *.o tunslip6 tunslip echo-client echo-server dtls-client dtls-server monitor_15_4 coap-clien…
|
D | README.md | 53 If your have echo-server running in the Qemu, then you can use the echo-client 66 to run the echo-server sample in Zephyr, and then test the TCP stack using 71 This script will send numbers to the echo-server program, read them back, 142 If you are running echo-client in Zephyr QEMU, then run echo-server like 145 $ ./echo-server -p 4244 -i tap0 148 If you want to re-create the certificates in echo-server and echo-client in 150 need to do this as the certs have been prepared already in echo-server and 157 The cert that is to be embedded into test_certs.h in echo-server and 163 The private key to be embedded into test_certs.h in echo-server can be 171 If you want to re-create the signed certificates in echo-server in Zephyr [all …]
|
D | README.legacy | 107 which sends pre-defined UDP data packets to echo-server 110 from the echo-server and thus verify that the upper layer 126 echo-server 129 echo-server is a tool that is run in Linux host side and 140 $ sudo ./echo-server -i tun0 147 which connects to dtls-server running in qemu. 159 dtls-server 162 dtls-server is a tool that is run in Linux host side and 171 $ make dtls-server 173 $ ./dtls-server -i tun0 [all …]
|
D | stunnel.conf | 15 ; *:4244 - Send unencrypted traffic to localhost (server) 35 [echo-server-ipv6] 42 [echo-server-ipv4]
|
D | .gitignore | 62 libcoap/examples/coap-server 67 libcoap/examples/coap-server.5 68 libcoap/examples/coap-server.txt 101 tinydtls-0.8.2/tests/dtls-server
|
D | avahi-daemon.conf | 5 [server]
|
/net-tools-3.4.0/libcoap/examples/ |
D | coap-server.txt.in | 4 coap-server(5) 7 :man source: coap-server 9 :man manual: coap-server Manual 13 coap-server - CoAP Server based on libcoap 17 *coap-server* [*-A* addr] [*-g* group] [*-p* port] [*-v* num] 21 *coap-server* is a CoAP server which simulate 6LoWPAN devices which can be 27 The local address of the interface which the server has to listen. 33 The 'port' on the given address the server will be waitung for connections. 43 coap-server -A ::1 45 Let the server listen on localhost (port 5683). [all …]
|
D | Makefile.am | 15 bin_PROGRAMS = coap-client coap-server coap-rd 20 coap_server_SOURCES = coap-server.c 32 coap-server.txt
|
D | coap-rd.txt.in | 21 *coap-rd* is a simple CoAP Resource Directory server that can handle resource 27 The local address of the interface which the server has to listen. 33 The 'port' on the given address the server will be waitung for connections. 45 Let the server listen on localhost (port 5683).
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_ecjpake.data | 7 ECJPAKE round one: server, valid 178 ECJPAKE round two server: valid 181 ECJPAKE round two server: trailing byte 184 ECJPAKE round two server: no data 187 ECJPAKE round two server: length of forst point too small 190 ECJPAKE round two server: length of first point too big 193 ECJPAKE round two server: no first point data 196 ECJPAKE round two server: first point is zero 199 ECJPAKE round two server: unknown first point format 202 ECJPAKE round two server: nothing after first point [all …]
|
/net-tools-3.4.0/libcoap/examples/lwip/ |
D | README | 7 $ sudo ./server 19 * build the server application 20 * run the server application, creating a virtual network device tap0 (unless 22 * configure your network interface to make the server accessible. 24 The server does not create any resources (it exposes an empty
|
D | .gitignore | 7 server
|
/net-tools-3.4.0/tinydtls-0.8.2/examples/contiki/ |
D | Makefile.in | 28 DTLS_SOURCES:=dtls-server.c dtls-client.c 31 all: dtls-server dtls-client 32 $(MAKE) $(MAKEFLAGS) ROLE=server dtls-server
|
/net-tools-3.4.0/python-websocket-server/websocket_server/ |
D | websocket_server.py | 66 def new_client(self, client, server): argument 69 def client_left(self, client, server): argument 72 def message_received(self, client, server, message): argument 166 def __init__(self, socket, addr, server): argument 167 self.server = server 168 StreamRequestHandler.__init__(self, socket, addr, server) 223 opcode_handler = self.server._message_received_ 225 opcode_handler = self.server._ping_received_ 227 opcode_handler = self.server._pong_received_ 331 self.server._new_client_(self) [all …]
|
/net-tools-3.4.0/libcoap/examples/contiki/ |
D | Makefile.common | 18 OBJS = server.o ${CONTIKIOBJS} ${COAPOBJS} 20 server: ${OBJS} 31 rm -f core server ${OBJS} symbols.c symbols.h
|
D | Makefile.contiki | 24 all: server
|
/net-tools-3.4.0/docker/ |
D | Dockerfile | 8 dante-server \ 18 make echo-server && make throughput-client && \ 60 # Simple Python based HTTP server for http-client API testing 61 # The http-get-file-test.sh is used for testing TCP with dumb-http-server-mt 64 COPY http-server.py https-server.py http-get-file-test.sh \
|
/net-tools-3.4.0/libcoap/ |
D | .gitignore | 48 examples/coap-server 53 examples/coap-server.5 54 examples/coap-server.txt
|
/net-tools-3.4.0/tinydtls-0.8.2/tests/ |
D | dtls-server.c | 187 resolve_address(const char *server, struct sockaddr *dst) { in resolve_address() argument 195 if (server && strlen(server) > 0) in resolve_address() 196 memcpy(addrstr, server, strlen(server)); in resolve_address()
|
D | dtls-client.c | 241 resolve_address(const char *server, struct sockaddr *dst) { in resolve_address() argument 249 if (server && strlen(server) > 0) in resolve_address() 250 memcpy(addrstr, server, strlen(server)); in resolve_address()
|