Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem using boost::asio::ip::address::from_string
From: Matheus Araújo Aguiar (matheus.pit_at_[hidden])
Date: 2009-06-16 13:51:48


indeed. my bad sorry, i should read the reference more carefully.

Thanx Igor!

On Tue, Jun 16, 2009 at 2:48 PM, Igor R <boost.lists_at_[hidden]> wrote:

> I'm using boost::asio::ip::address in a client-server application and i'm
>> having a strange behaviour when using the member method *from_string*.
>> The method isn't working correctly(or doing any work at all), since after
>> calling it, nothing changes. Bellow there's a code that reproduces the
>> problem.
>
>
>
> Note that from_string is a *static* function that creates and returns
> address obect:
>
> http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/reference/ip__address/from_string.html
>
> boost::asio::ip::address a = boost::asio::ip::address::from_string(ip);
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Matheus Araújo Aguiar
Computer Scientist
matheus.pit_at_[hidden]


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net