Boosting Socket Performance on Linux
Cop writes "The Sockets API lets you develop client and server applications that can communicate across a local network or across the world via the Internet. Like any API, you can use the Sockets API in ways that promote high performance -- or inhibit it. This article explores four ways to use the Sockets API to squeeze the greatest performance out your application and to tune the GNU/Linux® environment to achieve the best results."
Most time is spent in select()/poll() anyway. And there's sendfile() for web/ftp servers, hey, that saves syscalls!
Want nodelay? use UDP! :-)
Hehehe, go spend your time on serious issues, folks ;-)
Signals, as in Unix signals? kill sends a signal to the process controlling the socket.
/index.html
kill -SIGHUP 1234
If you want to send data to the process running on the socket, just use telnet
telnet foo.com 80
GET