-
Notifications
You must be signed in to change notification settings - Fork 672
Closed
Description
What were you trying to achieve?
Test coap server with TLS i.e providing certificate and key
What are the expected results?
To work with TLS
What are the received results?
cannot create new tls listener: cannot create new net tcp listener: unknown network udp
Steps To Reproduce
Provide certificate and key when starting coap server
In what environment did you encounter the issue?
main branch
Additional information you deem important
go func() {
errCh <- gocoap.ListenAndServeTCPTLS("udp", s.Address, tlsConfig, s.handler)
}()
This works when the network is TCP and not UDP
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done