Hi!
So I made a Websocket server on my Arduino and i try to connect to that with a Delphi 11 program. I use TClientSocket to do that. I wrote a testprogram in Python and everything worked fine, so the problem isn't on hte Arduino's side. The Arduino's IP address is: 192.168.0.24. I also tried the Address like these: 192.168.0.24:6667, ws://192.168.0.24, ws://192.168.0.24:6667. I try to configure the TClientSocket like that:
Client := TClientSocket.Create(nil);
Client.ClientType := ctNonBlocking;
Client.host := 'localhost';
Client.Address := '192.168.0.24';
Client.Port := 6667;
Client.Open;
This is in a btnClick event. What am I doing wrong?