Home > other >  How to use Libcoap for block transmission, and how to accurately obtain the data in the option?
How to use Libcoap for block transmission, and how to accurately obtain the data in the option?

Time:10-05

I have a few questions about the use of Libcoap want to consult,
1, the server how to implement the data block transmission?
2. How to accurately obtain the data to the option? I've used coap_check_option and coap_opt_value these two methods, but access to data is always wrong, even the last values will affect the next, aaaaaaaa, such as the first input output aaaaaaaaa is normal, the second input aaab, can output aaabaaaaa, excuse me this case how to solve?

CodePudding user response:

Don't know how many predecessors in the TCP Socket
Send (many) send (less) send (wealth)
Has been so much illness recv (), recv (wealth)
Inside the trap!
http://bbs.csdn.net/topics/380167545
  • Related