For communicating between processes running locally on system. Or, for example, a server running locally on an android device. Unix domain sockets typically beat TCP connections for most large file transfers. But is there anything faster?
And what about transfers over the public net from machine to machine? I usually just use netcat, ssh, or scp.