zubairhamed / canopus

CoAP Client/Server implementing RFC 7252 for the Go Language
Apache License 2.0
155 stars 41 forks source link

Sending CON messages during the client lifetime #69

Closed tkola closed 8 years ago

tkola commented 8 years ago

When the client has already started, the Send and SendTo functions never return because of the Read inside SendMessageTo. The ACK message from the server is caught instead by the serveServer, not by the Read inside the SendMessageTo.

zubairhamed commented 8 years ago

Ok i see, you're right. I've fixed it. i'll commit along with the BLOCK1 implementation.