Re: [fpc-pascal] fcl-web websocket

2023-11-09 Thread Michael Van Canneyt via fpc-pascal
On Wed, 8 Nov 2023, k1 via fpc-pascal wrote: Hi guys, do somone know how to enable ssl with the websocket semod fcl-web/examples/websocket/server/wsserver fcl-web/examples/websocket/client/wsclient the client working fine with a node websocket server, with just one command more

[fpc-pascal] fcl-web websocket

2023-11-08 Thread k1 via fpc-pascal
Hi guys, do somone know how to enable ssl with the websocket semod fcl-web/examples/websocket/server/wsserver fcl-web/examples/websocket/client/wsclient the client working fine with a node websocket server, with just one command more FClient.UseSSL := True; and uses opensslsockets but the

Re: [fpc-pascal] fcl-web websocket

2022-12-27 Thread Andrew Haines via fpc-pascal
On 12/27/22 3:39 AM, Michael Van Canneyt via fpc-pascal wrote: Anyway: I have applied the patch, and added your example with some minor modifications. Thank you for both ! Michael. ___ Awesome thanks very much! Andrew

Re: [fpc-pascal] fcl-web websocket

2022-12-27 Thread Michael Van Canneyt via fpc-pascal
On Mon, 26 Dec 2022, Andrew Haines wrote: On 12/26/22 8:48 AM, Michael Van Canneyt via fpc-pascal wrote: Please make a version of your program that does not use the LCL. Then I'll test that too. 2 reasons for this request: - I don't have a working version of Lazarus with FPC trunk. -

Re: [fpc-pascal] fcl-web websocket

2022-12-26 Thread Andrew Haines via fpc-pascal
On 12/26/22 8:48 AM, Michael Van Canneyt via fpc-pascal wrote: Please make a version of your program that does not use the LCL. Then I'll test that too. 2 reasons for this request: - I don't have a working version of Lazarus with FPC trunk. - I want to exclude the problems of dealing with

Re: [fpc-pascal] fcl-web websocket

2022-12-26 Thread Michael Van Canneyt via fpc-pascal
On Mon, 26 Dec 2022, Andrew Haines via fpc-pascal wrote: On 12/26/22 8:02 AM, Michael Van Canneyt via fpc-pascal wrote: I fixed the -p/--port option. I could reproduce the broken behaviour in the fcl-web example. As I thought, a change in the fcl-net ssockets unit is the cause of the

Re: [fpc-pascal] fcl-web websocket

2022-12-26 Thread Andrew Haines via fpc-pascal
On 12/26/22 8:02 AM, Michael Van Canneyt via fpc-pascal wrote: I fixed the -p/--port option. I could reproduce the broken behaviour in the fcl-web example. As I thought, a change in the fcl-net ssockets unit is the cause of the behaviour. I fixed it. Please check if your example now also

Re: [fpc-pascal] fcl-web websocket

2022-12-26 Thread Michael Van Canneyt via fpc-pascal
On Mon, 26 Dec 2022, Michael Van Canneyt via fpc-pascal wrote: On Mon, 26 Dec 2022, Andrew Haines via fpc-pascal wrote: On 12/25/22 6:06 PM, Michael Van Canneyt via fpc-pascal wrote: Does the sample chat client/program work for you ? See below When I have a moment, I'll look at

Re: [fpc-pascal] fcl-web websocket

2022-12-26 Thread Michael Van Canneyt via fpc-pascal
On Mon, 26 Dec 2022, Andrew Haines via fpc-pascal wrote: On 12/25/22 6:06 PM, Michael Van Canneyt via fpc-pascal wrote: Does the sample chat client/program work for you ? See below When I have a moment, I'll look at your test program. Thank you Michael. I'm not sure, maybe. It

Re: [fpc-pascal] fcl-web websocket

2022-12-25 Thread Andrew Haines via fpc-pascal
On 12/25/22 6:06 PM, Michael Van Canneyt via fpc-pascal wrote: Does the sample chat client/program work for you ? See below When I have a moment, I'll look at your test program. Thank you Michael. I'm not sure, maybe. It seems like the clients are not receiving messages. Also,

Re: [fpc-pascal] fcl-web websocket

2022-12-25 Thread Michael Van Canneyt via fpc-pascal
On Sat, 24 Dec 2022, Andrew Haines via fpc-pascal wrote: Hi, I am trying to test the websocket client in fcl-web by making a simple echo client. I have been unable to make it work using fpc trunk on linux64. I also crosscompiled to win64 and ran it on wine with identical results. The

[fpc-pascal] fcl-web websocket

2022-12-24 Thread Andrew Haines via fpc-pascal
Hi, I am trying to test the websocket client in fcl-web by making a simple echo client. I have been unable to make it work using fpc trunk on linux64. I also crosscompiled to win64 and ran it on wine with identical results. The project is attached here if anyone can give some hints. I am