canonical libwebsockets.org websocket library
Find a file
Andy Green 01b206e804 SOL_SNDBUF set to protocol rx size
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>
2013-03-23 09:53:17 +08:00
cmake Fixed ssl cert generation on Windows. 2013-02-22 09:28:11 +08:00
lib SOL_SNDBUF set to protocol rx size 2013-03-23 09:53:17 +08:00
scripts refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
test-server test server improve return checking 2013-03-23 09:46:18 +08:00
win32port fix win32helpers gettimeofday epoch 2013-03-05 08:41:47 +08:00
.gitignore add static stack analysis 2013-02-10 10:49:15 +08:00
Android.mk android include gregorys example makefile 2013-03-10 07:34:53 +08:00
changelog introduce api for unthrottle all connections of protocol 2013-03-16 12:43:22 +08:00
CMakeLists.txt BUGFIX: Properly add libcyassl to the lib list. 2013-03-23 08:55:28 +08:00
config.h.cmake Set the _DEBUG macro for CMake also. 2013-02-22 09:28:13 +08:00
libwebsockets-api-doc.html introduce api for unthrottle all connections of protocol 2013-03-16 12:43:22 +08:00
libwebsockets.spec cmake update specfile 2013-03-10 08:12:12 +08:00
LICENSE add static linking exception to LICENSE 2013-02-07 23:44:21 +08:00
README add README 2013-02-06 16:07:27 +09:00
README.build remove autotools build 2013-03-09 13:06:37 +08:00
README.coding document revent clearing scheme 2013-03-09 13:03:53 +08:00
README.test-apps introduce test echo 2013-01-30 12:28:44 +08:00

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