WININET: move to Windows sockets

Juan Lang juan_lang at yahoo.com
Tue Apr 6 12:49:24 CDT 2004


> Geoff wrote:
> > Or we write our own BIO that wraps up whatever
> > glue is desirable on the wine-side. Worst-case
> > (and it's not that bad an alternative) is that
> > you use a memory-base BIO to encapsulate all I/O
> > and worry about moving data to and from "sockets",
> > whatever they look like, afterwards.
> 
> That's what I've always done.
<snip>
> So it's not a bad way to go at all.

Yep, in fact the "real" way to do this as far as Wine
is concerned is to implement SSL in secur32.dll, since
this is where Windows does it.  It looks about like
this, although as Geoff pointed out to me the API is a
bit broken.  Doing a BIO inside wininet.dll might be
more expedient for Hans, who I think is trying to get
as much of Wine as possible ported to MinGW.

You guys that know SSL better than I do: patches
welcome :)

--Juan

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/



More information about the wine-devel mailing list