[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-users
Subject: Re: [Boost-users] Socket and iostream
From: "Caleb Epstein" <caleb.epstein () gmail ! com>
Date: 2006-11-08 17:48:23
Message-ID: 989aceac0611080948r55fdff0fwe979e3bb7f2e8370 () mail ! gmail ! com
[Download RAW message or body]
On 11/8/06, Nat Goodspeed <ngoodspeed@solidworks.com> wrote:
> > Try flushing the stream after each write.
>
> [Nat] I wondered about that -- but doesn't std::endl implicitly flush?
It sure does. The problem may be that the SMTP server expects \r\n
for end-of-line, not just \n. Thats how the RFC specifies the
protocol.
--
Caleb Epstein
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic