Is it possible to open a socket on a given URL and get its output printed, something similar to curl but for TCP using bash?
Currently I am using a Google Chrome browser extension -> Simple Websocket Client but i would like to make my own scripts and direct the output in my preferred files etc..
Can it be done ?
PS: so far I have also used telnet but I need to pass a path too host:port:path.