|
|
|
|
|
by kristopolous
1699 days ago
|
|
Just sayin' you can do something like this in bash out of the box... Don't let me spoil the party though, the more the merrier. https://www.gnu.org/software/bash/manual/html_node/Redirecti... "/dev/tcp/host/port
If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding TCP socket. /dev/udp/host/port
If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding UDP socket." I've got an example of a "practical" way to use it in an answer I did over here https://superuser.com/questions/563083/how-to-transfer-files... |
|
The page already told us you can do this out of the box. It's the very first sentence.
It also clearly explains the benefits provided by using the additional, optionally installed tooling.