Albert Chin wrote: > We created the following macro for curl. It's been tested on the > following systems: > AIX 4.3.3, 5.1, 5.2, 5.3 > HP-UX 10.20, 11.00, 11i > IRIX 6.5 > Redhat Linux 7.1, 9 > RHEL 2.1, 3, 4 > Solaris 2.5.1, 2.6, 7, 8, 9, 10/SPARC > Tru64 UNIX 4.0D, 5.1 > ... > int getpeername (int, $arg2 *, $t *);
Thanks a lot! Simon and I had completely overlooked that 'socklen_t' is not only a by-value parameter (as in bind(), connect()), but also a by-reference parameter. Your code is exactly what we need. Bruno _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib