On Wed, 19 Dec 2001, Geoff Hutchison wrote:

> 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

Bah. I discovered that there are actually a few Solaris 8 machines that I
can use. So I can confirm that I can code a nicely-working configure test.

The catch is to get working code. 

Basically I'm stuck because it seems like Sun is doing something
nonsensical. The third (namelen) parameter is supposed to be initialized
to the size. But you can't assign to a void! So I haven't the faintest
what Sun wants you to do. The man page for this claims that it's always a
'socklen_t*' but that's not what's actually in the header file.

At the moment, I don't have a good answer. If someone can find me examples
of calls to getpeername() that work on Solaris 8 in other code (Apache?),
please send them to the list and I'll get things working.

Otherwise, this will have to wait until I return from break to look for
such examples.

-Geoff


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to