Boost logo

Boost Users :

Subject: Re: [Boost-users] info about connect method of boost::asio::ip::tcp::iostream
From: Igor R (boost.lists_at_[hidden])
Date: 2010-02-17 06:08:55


> boost::asio::ip::tcp::iostream sockStream("1.2.3.4","5000");
<...>
> sockStream.connect ("1.2.3.4", 5000 );
<...>
> What am I doing wrong?

Compare the 2 above expressions - pay attention to the qutation marks: "5000".


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