vi / websocat

Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
MIT License
7.01k stars 272 forks source link

Examples in document does not working #119

Closed zbinlin closed 3 years ago

zbinlin commented 3 years ago

Example: Accept forwarded WebSocket connections from Nginx

umask 0000 websocat --unlink ws-l:unix-l:/tmp/wstest tcp:[::]:22

This example in document, I try to run, but it not working. It shows websocat: invalid IP address syntax

vi commented 3 years ago

Updated the doc, now it contains websocat --unlink -b -E ws-u:unix-l:/tmp/wstest tcp:[::]:22 - the main fix is ws-u instead of ws-l.

Does it work now?

zbinlin commented 3 years ago

It works. Thanks!