delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/08/01:41:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37FD83CC.7412A1DF@topic.com.au>
Date: Fri, 08 Oct 1999 15:40:28 +1000
From: Geoff Appleby <geoff AT topic DOT com DOT au>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: Problems with Sockets

Hey all,

I was writing a program that would eventually become a CGI. (NT 4, SP4)
It's does some stuff, and then mails a file to the person who ran the
CGI.  On the command line under bash, setting values into environment
variables,
every thign works fine.  Under a DOS prompt, everythign works.
Under Apache for Cygwin, it bails on the socket() call.
I checked errno, and it was set to 1 (which in errno.h says it's a
"not super-user" problem.
I also tried running under IIS, and it works there too.

Does anyone have any ideas?

-- 
                                   (__)
                                   (oo)
                            /-------\/
Geoff Appleby              / |     ||              geoff AT topic DOT com DOT au
Internet Engineer         *  ||----||             Ph: +61 2 6257 7111
tSA Consulting Group         ^^    ^^            Fax: +61 2 6257 7311

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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