delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/27/10:37:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 27 Feb 2003 10:44:52 -0500
From: Jason Tishler <jason AT tishler DOT 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 DOT Humblet AT ieee DOT org>
Cc: cygwin AT cygwin DOT com
Mail-followup-to: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>,
cygwin AT cygwin DOT com
Message-id: <20030227154452.GB1200@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20030225170155 DOT GI1876 AT tishler DOT net> <3E5BAB43 DOT 94FFA9ED AT ieee DOT org>
<20030225202123 DOT GN1876 AT tishler DOT net> <3E5BD593 DOT 6892CA19 AT ieee DOT org>
<20030225210138 DOT GO1876 AT tishler DOT net> <3E5BDDC7 DOT 6E3A44D7 AT ieee DOT org>
<20030225214640 DOT GP1876 AT tishler DOT net> <3E5BE69D DOT 5CDC7510 AT ieee DOT org>
<20030226133944 DOT GG772 AT tishler DOT net> <3E5CCB59 DOT F049D3F4 AT ieee DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019