Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 27 Feb 2003 10:44:52 -0500
From: Jason Tishler <jason@tishler.net>
Subject: Re: exim 4.12-3 winsock problem (was Re: 1.3.21)
In-reply-to: <3E5CCB59.F049D3F4@ieee.org>
To: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
Cc: cygwin@cygwin.com
Mail-followup-to: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>,
 cygwin@cygwin.com
Message-id: <20030227154452.GB1200@tishler.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
User-Agent: Mutt/1.4i
References: <20030225170155.GI1876@tishler.net> <3E5BAB43.94FFA9ED@ieee.org>
 <20030225202123.GN1876@tishler.net> <3E5BD593.6892CA19@ieee.org>
 <20030225210138.GO1876@tishler.net> <3E5BDDC7.6E3A44D7@ieee.org>
 <20030225214640.GP1876@tishler.net> <3E5BE69D.5CDC7510@ieee.org>
 <20030226133944.GG772@tishler.net> <3E5CCB59.F049D3F4@ieee.org>

Pierre,

On Wed, Feb 26, 2003 at 09:12:41AM -0500, Pierre A. Humblet wrote:
> While you are at it, can you enhance the educational experience
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Serves me right for idle *and* public reflections... :,)

> by looking at the starting wsock problem, using your specially
> instrumented code.  Is access to both keys above needed for a
> successful start?

No, only the winsock2 one is necessary.

> Can you also confirm that wsock starts correctly under strace even
> when there is no access to the keys above? 

Yes, winsock starts correctly (i.e., WSAStartup() succeeds) even with no
access to these keys.

Here is a table that summarizes my findings:

winsock  winsock2  WSAStartup  notes
=======  ========  ==========  =====
yes      yes       succeeds    exim: starts up
no       yes       succeeds    exim: IPv4 socket creation failed
yes      no        fails       exim: cannot find smtp/tcp service
no       no        fails       exim: cannot find smtp/tcp service
no       no        succeeds    strace exim: IPv4 socket creation failed

> Does anyone have a theory for that?

Sorry, I don't.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

