From: Geoff H. <ghu...@ws...> - 2001-12-20 04:30:56
|
On Wed, 19 Dec 2001 htd...@li... wrote: > The prototype for getpeername() on Solaris 8/SPARC is: > typedef void *Psocklen_t; > int getpeername (int, struct sockaddr *, Psocklen_t); Thanks for reminding me of this--the configure script loops through several common types for the latter two parameters and I suppose it was inevitable that someone would decide to make this call even more complicated. I'll add a test for "Psocklen_t" to the list to loop through, joining 'size_t,' 'int,' 'unsigned int,' 'long unsigned int,' and 'socklen_t.' I'm assuming that Solaris 8 has that 'typedef' statement in either <sys/types.h> or <sys/socket.h> or will another include need to be added to the test program? -- -Geoff Hutchison Williams Students Online http://wso.williams.edu/ |