Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple Messaging with WS #7

Open
ahmadmn opened this issue Jun 25, 2016 · 1 comment
Open

Simple Messaging with WS #7

ahmadmn opened this issue Jun 25, 2016 · 1 comment

Comments

@ahmadmn
Copy link

ahmadmn commented Jun 25, 2016

Hi Andre!
I have an electronic device connected to my local WiFi AP and send/recive meassage by other clients with this Html file:
https://github.com/tzapu/WebSocketSerialMonitor/blob/gh-pages/index.html
I type ws://192.168.1.125:81/ws and press connect.
Now I want to send/receive message with Delphi instead of html file.
Your demo work nice on Delphi XE10.1, But I cant find any point to change headers (ws:// , /ws).
Regards.

@andremussche
Copy link
Owner

I don't think you have to use /ws at the end of the url. Also ws:// is not
needed in front of it (just for webbrowser to "say" you want to connect
using websockets instead of http).
So just use 192.168.1.125 http://192.168.1.125:81/ws as host and 81 as
the port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants