title: How to use cat with socket?
body: <p>While reading the source code of <code>cat</code> command, I found <code>cat</code> command supports for reading from socket. You can view the source at <a href="http://src.gnu-darwin.org/src/bin/cat/cat.c.html" rel="noreferrer">http://src.gnu-darwin.org/src/bin/cat/cat.c.html</a>. But I've never use this command with socket: just quickly viewing a file or concatenating multiple files. What can I do with <code>cat</code> + socket? Can you give an interesting example of using <code>cat</code> command reading from a socket? Thanks.</p>