[Libwebsockets] lws_remaining_packet_payload not return zero

techi eth techieth at gmail.com
Tue Nov 8 06:05:39 CET 2016


*Hi,Is  lws_remaining_packet_payload work as mentioned in document ?*

*I am facing issue while using this api.I was trying to send 1650 byte data
& i have configured rx buffer to 1000.On Receive i was getting len=1000
after that if i call *

*lws_remaining_packet_payload then once i am getting 650 & getting forever.*

*I am on below commit.*


*Uri = "git://github.com/warmcat/libwebsockets.git;protocol=https
<http://github.com/warmcat/libwebsockets.git;protocol=https>"Commit =
"c15714f35a0e059ae33c1959f4059967e04b71d2"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20161108/b7ea36fa/attachment.html>


More information about the Libwebsockets mailing list