Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] Disable nagle algorithm on Windows XP
From: Igor R (boost.lists_at_[hidden])
Date: 2009-03-25 10:07:44


> I'm already using blocking sockets as suggest in above document.

According to that document, you should not enocounter this problem
when using blocking sockets. Probably your socket is not blocking?
To make a socket blocking you should write something like this:
boost::asio::socket_base::non_blocking_io command(true);
socket.io_control(command);


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