struct async_private needs generalization for Winsock
Alexandre Julliard
julliard at winehq.com
Tue Jan 8 11:24:24 CST 2002
Martin Wilck <Martin.Wilck at fujitsu-siemens.com> writes:
> There is nothing wrong with that, since File IO has been the only type of
> async request supported so far. All I'm asking for is to make this
> structure a little more generic so that I can implement async IO on
> sockets without a festival of casts and ugly hacks in the winsock code.
Sure, I'm all for making it more generic. What I objected to was that
your idea of generic seemed to be doing something like:
if (socket) do this
else if (serial) do that
else if (file) do this other thing
which is just the opposite of generic IMO. But a truly generic
interface is clearly needed.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list