bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] Re: socklen_t


From: Bruno Haible
Subject: Re: [bug-gnulib] Re: socklen_t
Date: Thu, 1 Sep 2005 13:13:59 +0200
User-agent: KMail/1.5

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]