3 ms·
I didn't know about /dev/tcp/host/port, has a nice Plan 9-like feel.
I didn't know about /dev/tcp/host/port, has a nice Plan 9-like feel.
Not too sure about the "Opens a UDP connection" though :)
Only available on Linux.
More portably, you can use something like netcat or socat.
It's implemented with an ugly hack in bash. I'd rather use netcat.