Snippets Collections
exec 3<>/dev/tcp/hostname/port
echo "request" 1>&3
response="$(cat <&3)"
star

Wed Sep 28 2022 08:37:33 GMT+0000 (UTC) https://unix.stackexchange.com/questions/336876/simple-shell-script-to-send-socket-message

#bash #tcp #socket

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension