Jump to content

Recommended Posts

Windows7 not supported websocket. So have to rely on 3rd party exe/dll.
while searching forum not find any code that releted to window7 websocket.
and no UDF on websocket till date.


@Danyfirex started a thread https://www.autoitscript.com/forum/topic/182266-would-be-usefull-create-a-websocket-udf/ but he drop it.

@FireFox example base on Windows8 https://www.autoitscript.com/forum/topic/84133-winhttp-functions/?do=findComment&comment=1172353

So try Google about websocket find this link

https://github.com/uNetworking/uWebSockets

https://github.com/BlueBrain/Rockets

but it's written in c++ and I don’t know c++.In fact I don’t know any language except Autoit.

It will be usefull if someone can provide a example how to do it on windows7.

Thanks.

Link to post
Share on other sites
Posted (edited)

I don’t know if it’s safe or not

curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H "Origin:http://www.websocket.org" http://echo.websocket.org

response

HTTP/1.1 101 Web Socket Protocol Handshake
Upgrade: WebSocket
Connection: Upgrade
WebSocket-Origin: http://www.websocket.org
WebSocket-Location: ws://echo.websocket.org/
Server: Kaazing Gateway
..........
..........

now how to proceed from here? look like I can't

Quote

But apart from being usable to test the initial handshake curl has no support for Websockets, i.e. it is impossible to actually exchange data using Websockets with curl.

 

Edited by jugador
Link to post
Share on other sites
  • 2 weeks later...

www.websoket.org is their website.  Their websocket echo test server is wss://echo.websocket.org.  If I were going to be testing my websocket logic, I would use the echo server.

Are you trying to create a websocket client, server, or both?

Edited by TheXman
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...