PATCH: accept-deferred.diff (5 in series)

Alexandre Julliard julliard at winehq.com
Wed Apr 17 17:09:23 CDT 2002


Martin Wilck <Martin.Wilck at fujitsu-siemens.com> writes:

> PATCH: accept-deferred.diff
> 
> If a connection request is deferred in a call to WSAAccept(),
> a subsequent accept()/WSAAccept() call must return the
> previously deferred connection rather than a new one.

You cannot store a handle to the deferred socket in the server, you
must store a pointer to the object and allocate a handle when
returning it to the application. Handles are only valid in one process
so they cannot be part of a server object that is potentially shared
between several processes.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list