Boost logo

Boost Users :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-09-16 18:41:40


Hi Christian,

Christian Henning <chhenning <at> gmail.com> writes:
> Hi there I'm experiencing a strange compilation error that I cannot
> resolve myself.
>
> boost::asio::write( socket, buffers );

It's not clear where your code expects the variable 'socket' to come from. The
compiler thinks it refers to the function socket(), which is why the error
includes this:

> Sync_Write_Stream=SOCKET (int,int,int),

Cheers,
Chris


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