Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin Subject: Problems with Sockets Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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