Boost logo

Boost Users :

Subject: Re: [Boost-users] ASIO iostreams example -- help?
From: Matheus Araújo Aguiar (matheus.pit_at_[hidden])
Date: 2009-06-12 16:47:24


Hi,
For what i know 0.0.0.0 means that your server is listening for requests in
any interface, it is not a valid address. You should type something like
localhost, 127.0.0.1 or even your machine's public ip.

hope it helps,

cheers!

On Fri, Jun 12, 2009 at 5:04 PM, Dave Steffen <dave.steffen_at_[hidden]>wrote:

> Hi Folks,
>
> I'm just getting into ASIO, and am having problems with the examples.
>
> I'm trying out both the tcp::iostream examples and the (more basic?)
> synchronous TCP daytime clients in the tutorial. I have the server
> print the socket endpoint, which produces:
>
> 0.0.0.0:23421
>
> (23421 being a randomly typed socket number, once I figured out that
> the '13' in the examples doesn't work because Linux reserves socket
> numbers up to 1024 for the kernel).
>
> I then run the client, providing 0.0.0.0:23421 on the commandline as
> the address to connect to. I get this:
>
> Host not found (authoritative)
>
> Does anyone know what that means? I know very little (read:nothing)
> about the tcp protocol, which is probably the real problem. :-)
>
> Thanks
>
> --
> Dave Steffen
> Numerica Corporation (www.numerica.us <http://www.numerica.us/> )
> 4850 Hahns Peak Drive, Suite 200
> Loveland, Colorado 80538
> main (970) 461-2000
> direct (970) 461-2422 x227
> fax (970) 461-2004
> Email: dave.steffen_at_[hidden]
>
> _______________________________________________
> 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