plgd-dev / go-coap

Implementation of CoAP Server & Client in Go

Home Page:https://coap.technology

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TCP doesn't work

ehmry opened this issue · comments

  • cd examples/simple/client
  • sed -e 's/udp/tcp/g' -e 's/localhost:5688/localhost:5683/g' -i main.go
  • go run .

Prints "Error sending request: context deadline exceeded". Wireshark shows a CSM message exchange, a GET, and a 4.04 response.

Bad server, sorry.

Thanks for providing this library, I didn't realize how bad my server implementation was until now.