TIL: #bash provides pseudo devices for TCP and UDP connections:
echo "hello" > /dev/udp/127.0.0.1/1337
or
exec 5<>/dev/tcp/www.google.com/80echo -e "GET / HTTP/1.0\n" >&5cat <&5
I'm baffled how I've never discovered that until today.
@fribbledom ha, brilliant, didn't know that! though i'd still go with #python
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!