eclipse / tinydtls

Eclipse tinydtls
https://projects.eclipse.org/projects/iot.tinydtls
Other
105 stars 57 forks source link

Apply option local port #222

Closed boaks closed 2 weeks ago

boaks commented 7 months ago

The previous version ignores the option for the local port. That may be caused by issues using the same default local port for the server and client. This enables the use of an specific local port and changes the default to an ephemeral free port, similar to quite a lot of other UDP clients. The DEFAULT_PORT is therefore only used for the destination.

boaks commented 2 weeks ago

I guess, adding a ',' will be an improvement :-)

dtls_info("bind to local IPv6, port %u\n", local_port);