canonical libwebsockets.org websocket library
![]() This tells the OS to reserve a TX buffer at least the size of the biggest RX frame expected, for both server and client connections. In Linux, the OS reserves 2 x the requested amount. This is aimed at reducing the partial large atomic frame send problem to the point it's only coming at large atomic frames the OS balks at reserving the size for. If you have a lot of data to send, it is better to split it into multiple writes, and use the FIN / CONTINUATION websocket stuff to manage it. See the "fraggle" test app for example code of how to do that. Signed-off-by: Andy Green <andy.green@linaro.org> |
||
---|---|---|
cmake | ||
lib | ||
scripts | ||
test-server | ||
win32port | ||
.gitignore | ||
Android.mk | ||
changelog | ||
CMakeLists.txt | ||
config.h.cmake | ||
libwebsockets-api-doc.html | ||
libwebsockets.spec | ||
LICENSE | ||
README | ||
README.build | ||
README.coding | ||
README.test-apps |
This is the libwebsockets C library for lightweight websocket clients and servers. For support, visit http://libwebsockets.org and consider joining the project mailing list at http://ml.libwebsockets.org/mailman/listinfo/libwebsockets You can get the latest version of the library from git http://git.libwebsockets.org https://github.com/warmcat/libwebsockets for more information: README.build - information on building the library README.coding - information for writing code using the library README.test-apps - information about the test apps built with the library