Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] Cloning a WSA socket (windows)
From: Igor R (boost.lists_at_[hidden])
Date: 2009-02-03 14:03:57


>
> 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.

I didn't try to debug your code, but at a glance, it seems that when
duplicating socket, you pass current process id instead of *target* process
id.



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