LuaJIT - Sockets - Compilation
This page will explain some of the flags present in the code that can help you fine tune how this library can be pre-compiled with LuaJIT.
Bingings
Always declare platform-specific stuff
Forces every platform-specific functions, constants and FFI structures to always be defined, even on unsupported platforms. \ Doesn't apply to FFI function imports, and unsupported functions will be replaced by an always failing no-op function. \ IDEs won't react if this enabled or disabled, be carefull !
Enums
Detailed error messages
Enables or disables the inclusion of human-readable error messages in M.WSAErrorMessages.
Can be usefull if you pre-compile this library.
TODO: Add a detail of the size difference !
Examples:
- Active:
<ul> <li>Known:
Insufficient memory available. (WSA_NOT_ENOUGH_MEMORY)</li> <li>Unknown:Unknown WSA error ! (8)</li> </ul> - Disabled:
<ul> <li>All:WSA error ! (8)</li> </ul>
See: