Closed crazydiamondzgy closed 9 years ago
Hey thanks for the issue.
Are you running your tests using this example? https://github.com/crazydiamondzgy/iot-coap-client-c-sdk/blob/master/example/test_cli_win32.c
Z
Whoops sorry. Rather obvious that it isn't. The endpoint url is different.
Do you have an example of the rest you ran using uCOAP?
Z
you just compile and run the project file build/vc8/ucoap.sln
i wrote a tiny project as https://github.com/crazydiamondzgy/iot-coap-client-c-sdk, and I test with californium server which is right.
when I test with canopus simple server, like this
func main() { server := NewLocalServer()
}
the first time, everything is ok, I closed my tool and reopen to test the second time canopus display error looping infinite as below:
2015/09/18 01:00:47 read udp 0.0.0.0:5683: i/o timeout 2015/09/18 01:00:47 This was a net.OpError with a Timeout 2015/09/18 01:00:47 read udp 0.0.0.0:5683: i/o timeout 2015/09/18 01:00:47 This was a net.OpError with a Timeout 2015/09/18 01:00:47 read udp 0.0.0.0:5683: i/o timeout 2015/09/18 01:00:47 This was a net.OpError with a Timeout 2015/09/18 01:00:47 read udp 0.0.0.0:5683: i/o timeout 2015/09/18 01:00:47 This was a net.OpError with a Timeout 2015/09/18 01:00:47 read udp 0.0.0.0:5683: i/o timeout 2015/09/18 01:00:47 This was a *net.OpError with a Timeout
by the way, I change some code like this to display error code