Hi In order to get passfd.c to compile under solaris' cc, I had to add the following to passfd.c before including sys/socket.h #ifndef _XPG4_2 #define _XPG4_2 #endif I havent tested mod_scgi and scgi themselves, but I've tested the passfd module and the socketpair, recvfd and sendfd functions and they seem to be fine. Ie the test program works and another I wrote seems to indicate it's ok. Jon