Boost logo

Boost :

From: Gaurav.Jain_at_[hidden]
Date: 2007-02-13 05:41:01

Hi Chris,
> On Tue, 13 Feb 2007 12:28:32 +0530, Gaurav.Jain <at> said:
> > Quite strange that struct sockaddr_storage doesn't have any member
> > "ss_family", instead address family is represented by "__ss_family".
> Indeed. There's no "#define ss_family __ss_family" anywhere?
> I think AIX support will have to wait until after I release 0.3.8, as
> it looks like some non-trivial changes may be required.
> Cheers,
> Chris
 I am afraid not, result of search: find /usr/include -exec grep
"ss_family" -type 2>/dev/null {} \;
/usr/include/sys/socket.h: ushort_t __ss_family; /* address
family */
/usr/include/sys/socket.h: sa_family_t __ss_family; /* address
family */
 I tried to build the code on AIX after making some changes(dirty hack)
to /boost/asio/detail/socket_types.h # if defined(__sun) # include
<sys/filio.h> # endif
# if defined(_AIX)
# define ss_family __ss_family
# endif
and line #276 of /boost/asio/error.hpp
 #elif defined(__MACH__) && defined(__APPLE__) || defined(_AIX) But
still errors related to gethostbyaddr_r() and gethostbyname_r() crop up.
 Please let know if I can continue to work on this and if possible get a

Gaurav Jain

This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version.

Boost list run by bdawes at, gregod at, cpdaniel at, john at