Skip to content

Commit 9b93c54

Browse files
authored
Add support for UDP echo server (#68)
Signed-off-by: Gaurav Aggarwal <[email protected]>
1 parent f1f1549 commit 9b93c54

File tree

3 files changed

+208
-142
lines changed

3 files changed

+208
-142
lines changed

tools/echo_server/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ The JSON file contains the following options:
2626
1. Relative or absolute path to the server certificate generated in the credential creation prerequisite.
2727
1. server-key-location
2828
1. Relative or absolute path to the server key generated in the credential creation prerequisite.
29+
1. use-udp
30+
1. Enable this option to run the USP echo server.
2931
## Example Configuration
3032
```json
3133
{
@@ -34,7 +36,8 @@ The JSON file contains the following options:
3436
"secure-connection": false,
3537
"server-port": "9000",
3638
"server-certificate-location": "./certs/server.pem",
37-
"server-key-location": "./certs/server.key"
39+
"server-key-location": "./certs/server.key",
40+
"use-udp": false
3841
}
3942
```
4043

tools/echo_server/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"server-port": "9000",
66
"cert-verify": true,
77
"server-certificate-location": "./certs/server.pem",
8-
"server-key-location": "./certs/server.key"
8+
"server-key-location": "./certs/server.key",
9+
"use-udp": false
910
}

0 commit comments

Comments
 (0)