Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reuse HTTP port for WebSocket #51

Open
fregante opened this issue Mar 19, 2023 · 0 comments
Open

Reuse HTTP port for WebSocket #51

fregante opened this issue Mar 19, 2023 · 0 comments

Comments

@fregante
Copy link

See:

Relevant code:

port = randint(60000, 65535)
response_obj = {"ProtocolVersion": 1}
response_obj["WebSocketPort"] = port
startWebSocketSvr(self.server.ghost, port)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant