A websocket module for Garry's Mod
You have two options:
Currently you should build the module yourself, since the current release doesn't clean up listener threads after lua GC's the websocket instance.
Using the ready made modulegmsv_gwebsocket_linux.dll
abovelua/bin
folder, if the folder doesnt exist, create it.This project uses premake5 to generate makefiles and currently only supports 32 bit linux builds
gcc-multilib
and g++-multilib
packages with your favorite package manager.git clone --recurse-submodules https://github.com/norrbotten/gwebsocket.git
setup_linux.sh
script. It will download and build all dependencies.premake5 gmake2
cd build && make -j config=release && cd ..
build/module/bin
. Copy it to your lua/bin
folder.IXWebSocket needs to be built for 32 bit and installed, for this you will additionally need 32 bit builds of OpenSSL and ZLib. Assuming you're on linux, these can be automatically downloaded and built using the provided script.
require("gwebsocket")
gwebsocket
, so don't overwrite it (blame garry for no returns from require)RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4