#1 2022-12-17 05:54:48

Ghiber
Member
Registered: 2016-02-17
Posts: 14

Mormot2 WebSocket

hi, i have a server THttpApiWebSocketServer which works very well on the web, i am now trying to do a test with a windows client, when i use mormot 1 TWinHttpWebSocketClient.Create('localhost','8087',false,'socket',' ') all good but this same line in mormot 2 generates an error: the connection to the server ended abnormally, am I missing something?

Offline

#2 2022-12-17 10:23:08

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: Mormot2 WebSocket

I did not test the Windows websocket client.
Use the cross platform socket client class instead.

Offline

Board footer

Powered by FluxBB