LazWebsockets icon indicating copy to clipboard operation
LazWebsockets copied to clipboard

Client Linux 32

Open esvignolo opened this issue 4 years ago • 2 comments

Hello! I have been developing and using it successfully on linux64, windows32 and macos64. Now testing on linux32 which I need working as well. The connection is not established, checking, the expected key is always different from the calculated one (in the handshake). Any suggestion?

Thank you

esvignolo avatar Apr 19 '20 17:04 esvignolo

I currently don't have the capabilities to test this under Linux 32 bit, but what you could do is check the function GenerateAcceptingKey from wsstream.pas.

You create a simple project that includes wsstream.pas and calls GenerateAcceptingKey on a few strings fro 32 and 64 bit linux and see if they are different. I can take a look into that later this week, but it would be great if you could do this little test if you already have such a testing environment available

Warfley avatar Apr 20 '20 17:04 Warfley

Hi!, i do that and isolate the problem, and I post in Lazarus forum:

https://forum.lazarus.freepascal.org/index.php?topic=49429.0

esvignolo avatar Apr 20 '20 21:04 esvignolo