Boost logo

Boost :

From: Iain.Hanson_at_[hidden]
Date: 2002-02-27 14:04:59


Author: dmoore (dmoore_at_[hidden]) at unix,mime
Date: 27/02/02 18:55

>If you need it to interoperate with the "C" sockets API, you need
>something along the lines of
>operator const sockaddr *() const;
>operator const protocol_address_representation *() const;
>size_t length() const;

I did not plan on being able to use it with the C api nand I can not ( at the
moment ) see any good reason to allow that. If I did provide that sort of
functionality it would definately *not* be via implict conversion operators.
>You *may* also want to provide mutator and accessor access to the
>address family member of the structure, although if I recall from
>your earlier posts, that would be a template parameter to the class
>in your design, right?

Right. address family is part of the type.


Visit our website at

This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. 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. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

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