FredyH / GWSockets

WebSockets for GLua
MIT License
87 stars 7 forks source link

Socket not connecting, even with example code #26

Closed reesercollins closed 3 years ago

reesercollins commented 3 years ago

I seem to be having issues with GWSockets where my sockets aren't connecting, even running the provided example code with no other addons.

OS: Windows 10 GWSockets Version: Latest 32bit GMod Version: Latest

Not sure what other information you need, since it's all provided code.

FredyH commented 3 years ago

Do you have a player on the server? Otherwise the callbacks are not called.

reesercollins commented 3 years ago

No. Can't seem to find that information anywhere in the documentation. Is there anyway to disable that?

FredyH commented 3 years ago

You can use the convar sv_hibernate_think to also have callbacks called when there are no clients connected.