Boost logo

Boost :

From: Iain.Hanson_at_[hidden]
Date: 2002-02-28 10:37:15

Author: davlet.panech (davlet_panech_at_[hidden]) at unix,mime
Date: 27/02/02 20:23

>// Dotted-decimal IP addres + port:
>// 111.222.333.123:80 or
>// 111.222.333.123 <-- assume ANY port
>inet_address( const char *full_addr );
>inet_address( const std::string &full_addr
>inet_address( const std::string &ip_addr, port_type port );
>inet_address( const native_type & );
  I was thinking about this form of construction last night. It
  simply means not having the default value on port_type Port.
  This is also the way ACE does things, so unless anyone has
  arguments against this I'll change my construtors to parse for
  :port on const char * and remove the default Port = any_port.
  they will then look like:
  // the following four need marshalling
  // address is in the form ""
  address ( const char * Address , port_type Port );
  // parse an address in the form ""
  address ( const char * Address );
  explicit address ( const std::string & Address , port_type Port );
  // parse an address in the form ""
  explicit address ( const std::string );

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