canonical libwebsockets.org websocket library
![]() - Define LWS_DLL and LWS_INTERNAL when websockets_shared is compiled. - The websocket_shared target compiles to websocket.lib / websocket.dll (websocket.lib contains the exported functions for websocket.dll, and is the file that is linked to when a program wants to use the dll) - The websocket target compiles to websocket_static.lib on windows. - Replaced any "extern" with "LWS_EXTERN" on libwebsockets.h for proper DLL function exports. - Created a LIB_LIST with all the libwebsocket dependencies, instead of multiple calls to target_link_libraries, only one call is made for both the static and shared library version. This makes it easy to add other variants if wanted in the future. - Added ZLIB as a dependency for the libs, so that the build order will be correct at all times. - Added a dependency for the websockets lib to the test apps, so it is built before them. - Fixed the test-server-extpoll app to include the emulated_poll, and link to winsock on Windows. - Removed the global export of libwebsocket_internal_extensions, and added a function libwebsocket_get_internal_extensions() that returns it instead. Using the global would not work with the DLL export on Windows. |
||
---|---|---|
cmake | ||
lib | ||
m4 | ||
scripts | ||
test-server | ||
win32port | ||
.gitignore | ||
autogen.sh | ||
changelog | ||
CMakeLists.txt | ||
config.h.cmake | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
libwebsockets-api-doc.html | ||
libwebsockets.pc.in | ||
libwebsockets.spec | ||
LICENSE | ||
Makefile.am | ||
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