<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Michal,<br>
So...let us stay with winsock1 code and lib,<br>
and then you can NOT accept the ws2 lib in the makefile as
suggested by Robert Bao, nor my old code modif or any other
#include of "winsock2.h".<br>
<br>
No problem.<br>
<br>
In the past, my offer was to simplify the code for "custom"
rewrites of getaddrinfo/getnameinfo in resolver.c,<br>
by using winsock2 api,<br>
because such calls are available in winsock2, and NOT in winsock1.<br>
<br>
The more simple the code is, the easier to maintain it is, and
hopefully the more robust it "can" be...<br>
<br>
Just to mention, winsock2 is available on every version of Windows
including w98, WNT, w2000 and after,<br>
so that legacy OS compatibility would not be broken (and by
contributing to WCE stunnel, you have noticed that I DO care also
about legacy system compatibility...in every day life, because I
do not want MS to obligate every one to migrate to the next
version of their OS...because of lack of any good tool or service;
so I try to fill the gap with some contributions).<br>
<br>
To my experience, winsock2 offers an API more close to BSD api,
more complete, <br>
and covers more protocols.<br>
And it is also still maintained by Microsoft (unlike winsock1
lib).<br>
<br>
I will check this in depth after official stunnel v5.00.<br>
<br>
Best regards,<br>
Pierre<br>
<br>
<br>
<br>
Le 04/12/2012 12:19, Michal Trojnara a écrit :<br>
</div>
<blockquote cite="mid:50BDDC44.4040705@mirt.net" type="cite">
<pre wrap="">On 2012-12-04 09:11, Pierre DELAAGE wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I used to compile stunnel and openssl on WCE and I am waiting for v500
to try again.
<a class="moz-txt-link-freetext" href="http://delaage.pierre.free.fr">http://delaage.pierre.free.fr</a>
</pre>
</blockquote>
<pre wrap="">
I highly appreciate your effort.
</pre>
<blockquote type="cite">
<pre wrap="">But Michal : As of 4.34 I was also suggesting to replace winsock 1 by
winsock 2, not only by changing libs in makefile but also
some piece of code.
</pre>
</blockquote>
<pre wrap="">
>From what I understood you assume that Winsock2 implies IPv6 and related
new resolver interface. This is not really true:
<a class="moz-txt-link-freetext" href="http://goo.gl/g0B8L">http://goo.gl/g0B8L</a>
While I agree that Windows 2000 compatibility is not that important
anymore, I also see no real benefit in removing the legacy code.
BTW: In recent beta version I moved the controversial code from gui.c to
resolver.c.
I'm sure you have noticed that Win32 is not my main (nor favorite)
development platform. I'm always glad to learn from your experience.
Mike
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
stunnel-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a>
<a class="moz-txt-link-freetext" href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a>
</pre>
</blockquote>
<br>
</body>
</html>