[fpc-pascal] fcl-web websocket
Michael Van Canneyt
michael at freepascal.org
Mon Dec 26 14:02:15 CET 2022
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 your test program.
>>
>> Thank you
>>
>>>
>>> Michael.
>>>
>>>
>>
>> I'm not sure, maybe. It seems like the clients are not receiving messages.
>> Also, using strace I realized the server ignores the port and uses 6060. I
>> tried with and without threading.
>
> I will check this.
>> From your strace it looks like recent changes in ssockets broke something:
> the 1 character sized reads are not normal at all. I'll report back.
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 works ?
Michael.
More information about the fpc-pascal
mailing list