Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 45) sorted by relevance

12

/net-tools-3.4.0/python-websocket-server/tests/
Dtest_text_messages.py2 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 …]
Dutils.py12 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/
Dserver.py4 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()
DREADME.md4 …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)
27server.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/
Dzephyr-websocket-server.py11 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()
DMakefile1 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…
DREADME.md53 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 …]
DREADME.legacy107 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 …]
Dstunnel.conf15 ; *:4244 - Send unencrypted traffic to localhost (server)
35 [echo-server-ipv6]
42 [echo-server-ipv4]
D.gitignore62 libcoap/examples/coap-server
67 libcoap/examples/coap-server.5
68 libcoap/examples/coap-server.txt
101 tinydtls-0.8.2/tests/dtls-server
Davahi-daemon.conf5 [server]
/net-tools-3.4.0/libcoap/examples/
Dcoap-server.txt.in4 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 …]
DMakefile.am15 bin_PROGRAMS = coap-client coap-server coap-rd
20 coap_server_SOURCES = coap-server.c
32 coap-server.txt
Dcoap-rd.txt.in21 *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/
Dtest_suite_ecjpake.data7 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/
DREADME7 $ 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.gitignore7 server
/net-tools-3.4.0/tinydtls-0.8.2/examples/contiki/
DMakefile.in28 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/
Dwebsocket_server.py66 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/
DMakefile.common18 OBJS = server.o ${CONTIKIOBJS} ${COAPOBJS}
20 server: ${OBJS}
31 rm -f core server ${OBJS} symbols.c symbols.h
DMakefile.contiki24 all: server
/net-tools-3.4.0/docker/
DDockerfile8 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.gitignore48 examples/coap-server
53 examples/coap-server.5
54 examples/coap-server.txt
/net-tools-3.4.0/tinydtls-0.8.2/tests/
Ddtls-server.c187 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()
Ddtls-client.c241 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()

12