Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I didn't know about /dev/tcp/host/port, has a nice Plan 9-like feel.


It's implemented with an ugly hack in bash. I'd rather use netcat.


Only available on Linux.

More portably, you can use something like netcat or socat.


Not too sure about the "Opens a UDP connection" though :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: