Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 31) sorted by relevance

12

/net-tools-3.5.0/python-websocket-server/
Dserver.py15 def message_received(client, server, message): argument
16 if len(message) > 200:
17 message = message[:200]+'..'
18 print("Client(%d) said: %s" % (client['id'], message))
DREADME.md76 …` | Sets a callback function that will be called when a `client` sends a message | functi…
77 …age()` | Sends a `message` to a specific `client`. The message is a simple string. …
78 …message_to_all()` | Sends a `message` to **all** connected clients. The message is a simple st…
87 …_message_received()` | Called when a `client` sends a `message` | client, server, message
90 The client passed to the callback is the client that left, sent the message, etc. The server might …
/net-tools-3.5.0/python-websocket-server/websocket_server/
Dwebsocket_server.py72 def message_received(self, client, server, message): argument
245 def send_message(self, message): argument
246 self.send_text(message)
248 def send_pong(self, message): argument
249 self.send_text(message, OPCODE_PONG)
251 def send_text(self, message, opcode=OPCODE_TEXT): argument
258 if isinstance(message, bytes):
259 message = try_decode_UTF8(message) # this is slower but ensures we have UTF-8
260 if not message:
263 … elif sys.version_info < (3,0) and (isinstance(message, str) or isinstance(message, unicode)):
[all …]
/net-tools-3.5.0/mbedtls-2.4.0/yotta/data/example-authcrypt/
Dmain.cpp51 const char message[] = "Some things are better left unread"; in example() local
59 print_hex("plaintext message", (unsigned char *) message, sizeof message); in example()
121 (const unsigned char *) message, sizeof message, in example()
123 ciphertext + nonce_len + sizeof message, tag_len ); in example()
DREADME.md59 plaintext message: 536f6d65207468696e67732061726520626574746572206c65667420756e7265616400
/net-tools-3.5.0/python-websocket-server/tests/
Dtest_text_messages.py103 message = chr(i)*MESSAGE_LEN
106 args=(message,)
124 for message in messages_received:
125 first_char = message[0]
126 assert message.count(first_char) == len(message)
/net-tools-3.5.0/
Dzephyr-websocket-server.py20 def message_received(client, server, message): argument
21 print("Client(%d) sent[%d]" % (client['id'], len(message)))
22 server.send_message(client, message)
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_mdx.data11 md2_text:"message digest":"ab4f496bfb2a530b219ff33031fe06b0"
32 md4_text:"message digest":"d9130a8164549fe818874806e1c7014b"
53 md5_text:"message digest":"f96b697d7cb7938d525a2f31aaf161d0"
74 ripemd160_text:"message digest":"5d0689ef49d2fae572b881b123a85ffa21595f36"
Dtest_suite_pk.function285 unsigned char message[1000];
294 memset( message, 0, sizeof( message ) );
298 msg_len = unhexify( message, message_hex );
309 TEST_ASSERT( mbedtls_pk_encrypt( &pk, message, msg_len,
Dtest_suite_debug.data2 debug_print_msg_threshold:1:0:"MyFile":999:"MyFile(0999)\: Text message, 2 == 2\n"
5 debug_print_msg_threshold:1:1:"MyFile":999:"MyFile(0999)\: Text message, 2 == 2\n"
Dtest_suite_md.data57 md_text:"MD2":"message digest":"ab4f496bfb2a530b219ff33031fe06b0"
85 md_text:"MD4":"message digest":"d9130a8164549fe818874806e1c7014b"
113 md_text:"MD5":"message digest":"f96b697d7cb7938d525a2f31aaf161d0"
141 md_text:"RIPEMD160":"message digest":"5d0689ef49d2fae572b881b123a85ffa21595f36"
277 md_text_multi:"MD2":"message digest":"ab4f496bfb2a530b219ff33031fe06b0"
305 md_text_multi:"MD4":"message digest":"d9130a8164549fe818874806e1c7014b"
333 md_text_multi:"MD5":"message digest":"f96b697d7cb7938d525a2f31aaf161d0"
361 md_text_multi:"RIPEMD160":"message digest":"5d0689ef49d2fae572b881b123a85ffa21595f36"
Dtest_suite_debug.function68 "Text message, 2 == %d", 2 );
Dtest_suite_pk.data89 Verify ext RSA #2 (PKCS1 v2.1, salt_len = ANY, wrong message)
/net-tools-3.5.0/docker/
Dsyslog-receiver.py43 message = bytesAddressPair[0]
48 ….\-0-9]*) ([0-9a-fA-F\:\.]*) ([\w-]) ([\w-]) ([\w-]) ([\w-]) net_syslog\S* (.*)'", format(message))
/net-tools-3.5.0/tinydtls-0.8.2/sha2/testvectors/testvectors/
Dvector016.info3 message containing several samples of output from his SHA-256
/net-tools-3.5.0/mbedtls-2.4.0/tests/
DCMakeLists.txt15 message(FATAL_ERROR "Cannot build test suites without Perl")
124 message(FATAL_ERROR "Could not create symbolic link for: ${target} --> ${output}")
/net-tools-3.5.0/mbedtls-2.4.0/
DCMakeLists.txt37 message(WARNING ${NULL_ENTROPY_WARNING})
40 message(FATAL_ERROR "\
DChangeLog704 * ssl_close_notify() could send more than one message in some circumstances
1178 * ssl_close_notify() could send more than one message in some circumstances
1358 * Removed further timing differences during SSL message decryption in
1367 * Debug messages about padding errors during SSL message decryption are
1374 * Removed timing differences during SSL message decryption in
1386 * Correctly handle CertificateRequest message in client for <= TLS 1.1
1391 * Server not always sending correct CertificateRequest message
1518 * Debug messages about padding errors during SSL message decryption are
1522 * Removed timing differences during SSL message decryption in
1645 * The generic cipher and message digest layer now have normal error
[all …]
/net-tools-3.5.0/libcoap/examples/
Dcoap-client.txt.in95 Send NON-confirmable message. If option *-N* is not specified, a
96 confirmable message will be sent.
/net-tools-3.5.0/mbedtls-2.4.0/scripts/data_files/
Derror.fmt2 * Error message information
/net-tools-3.5.0/mbedtls-2.4.0/library/
DCMakeLists.txt110 message(FATAL_ERROR "Need to choose static or shared mbedtls build!")
/net-tools-3.5.0/tinydtls-0.8.2/sha2/
DREADME42 accept message data in multiples of bytes.
192 appeared in longer message data sets.
239 If you use this implementation, I would enjoy getting a brief email message
/net-tools-3.5.0/libcoap/
DCONTRIBUTE179 * Commit message should begin with a submodule or unit the commit is for. By
180 this your commit message helps to find thematic other changes. If you have
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/
Dssl.h2472 unsigned char message );
/net-tools-3.5.0/mbedtls-2.4.0/yotta/data/
DREADME.md21 …emonstrates the various APIs for computing hashes of data (also known as message digests) with SHA…

12