SharkSSL™ Embedded SSL/TLS Stack
|
The WS protocol is frame based, and struct WssReadState keeps state information for the Minnow Server's MS_read function.
#include <MSLib.h>
Data Fields | |
int | frameLen |
The WebSocket frame length. | |
int | bytesRead |
Read frame data until: frameLen - bytesRead = 0. | |
U8 | isTimeout |
Set when function msRead returns due to a timeout. | |