Closed assistuelectronics closed 3 years ago
The unmodified example works well?
... I am guessing so because the code you pasted is nonsense...
Sure, may be I haven't communicated properly. But yes let me check in detail about my issue and come back
The unmodified example works well?
But unmodified code, i can't send my own data, so modified and thought thats the right way, because I am able to get the data now with those modification but ws server throws segmentation the moment i disconnect my ws client running in pc.
I'm not really here to be some kind of service for dedicating my time to making your code work, that's your job.
I'm here to try to make sure my code works.
I'm not really here to be some kind of service for dedicating my time to making your code work, that's your job.
I'm here to try to make sure my code works.
Sure can understand...
I have modified the websocket server and modified file is protocol_lws_minimal.c.
LWS_CALLBACK_RECEIVE gets called continously even websocket client stopped sending any data.
case LWS_CALLBACK_SERVER_WRITEABLE: if (!vhd->amsg.payload) break;