On 05/26/2014 09:31 AM, Damjan Jovanovic wrote:
That wouldn't always work: in theory, DuplicateHandle() could transmit the socket to another process, which wouldn't have the same ws2_32 thread.
I don't know much about winsock and wineserver and such, but would it be possible for a handle to track whether it's been duplicated from/to another process and only involve wineserver when it has been?