Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Updated to version 1.2
This includes support for incoming fragmented frames and fixes compilation on SM 1.7. Download in the first post. |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Yay ! Thanks !
|
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Is it somehow possible to get connection parameters (ws://host:port/path/?parameters...), and reject / "force-disconnect" clients to kinda implement authorization?
Edit: looks like, force-closing is possible but theres no built-in way to get the request path. Ill add that in and propose a PR :P Edit2: took me way too long to find out it's easy to add but the PR's there now :) https://github.com/peace-maker/sm-websocket/pull/4 |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Something is wrong with Websocket_Open?
Code:
SourcePawn Compiler 1.8.0.6025Quote:
|
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
I'm guessing you're using the include file from the repository?
The WebsocketIncomingCB signature changed without backwards compatibility - redownload the include file from the repo. https://github.com/peace-maker/sm-we...d7c154fe46ddd4 |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Quote:
(Am getting that error too) |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Quote:
|
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Quote:
|
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
You'd need an extension that provides you with a raw socket interface that's tunneled through a TLS encrypted connection. The protocol itself doesn't change.
|
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Quote:
|
| All times are GMT -4. The time now is 13:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.