Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] Cloning a WSA socket (windows)
From: Tore Halvorsen (tore.halvorsen_at_[hidden])
Date: 2009-02-03 13:46:45


On Tue, Feb 3, 2009 at 6:17 PM, Igor R <boost.lists_at_[hidden]> wrote:
>
> For debug purposes, did you check what the value of "copy" is? Did you try
> to perform a simple winsock i/o operation on it? I.e., are you sure that
> you've got valid tcp socket descriptor?

Good call.

While copy != INVALID_SOCKET, but I get a "The system detected an
invalid pointer address in attempting to use a pointer argument in a
call." when I try to do a WSARecv. I should probably try a windows
forum instead.

-- 
Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul]
<demo> 2009 Tore Halvorsen || +052 0553034554

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