When a program is started via FastCGI, it is exec'd with a socket already open to talk to the web server. The socket's file descriptor number is handed to the program, but how can that be converted to something useful in Java, such as a Socket instance?
My hosting service uses mod_fastcgi for Apache httpd. They won't allow me to configure an external server where I provide a host:port to forward requests to via FastCgiExternalServer.