Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tripflag
· 3y ago · 0 comments
neat! i was aware of bash's built-in tcp client at /dev/tcp, but gawk being able to function as a tcp server is way cooler. Thanks for that bit of knowledge :>
Comments
[–]
dzove855
3y ago
Actually, bash has now a loadable builtin to listen on tcp socket. I wrote a script and the patch.
https://github.com/dzove855/Bash-web-server
The patch is now included in bash 5.2
[–]
tyingq
3y ago
Excellent! Looking forward to your pure bash TLS implementation next :)
[–]
dzove855
3y ago
it is already in my mind creating a bind to something like libressl or rustssl, but it will be much more complicated.