Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
github.com/isobit/ws-tcp-relay
An extremely simple relay between WebSocket clients and TCP servers. Data
received from WebSocket clients is simply forwarded to the specified TCP
server, and vice-versa. In other words, it's
websocketd, but for TCP connections
instead of STDIN
and STDOUT
.
Usage: ws-tcp-relay <tcpTargetAddress>
-b Use binary frames instead of text frames
-binary
Use binary frames instead of text frames
-p uint
The port to listen on (default 4223)
-port uint
The port to listen on (default 4223)
-tlscert string
TLS cert file path
-tlskey string
TLS key file path
By default, golang.org/x/net/websocket
uses text frames to deliver payload
data. To use binary frames instead, use either the b
or binary
flags.
To use secure WebSockets simply specify both the tlscert
and tlskey
flags.
go get -u github.com/isobit/ws-tcp-relay
Binaries are also available on the release page.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.