Problems with Sockets

Geoff Appleby geoff@topic.com.au
Thu Oct 7 22:41:00 GMT 1999


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@topic.com.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@sourceware.cygnus.com



More information about the Cygwin mailing list