Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Send-By: 195.6.180.124 with Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; Hotbar 3.0) To: Subject: Socket problem with Postgres & cygwin under Window 98 From: "sam-goyer AT ifrance DOT com" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 5 Oct 2001 14:03:34 GMT Message-id: <200110051403.22b1@lh00.opsion.fr> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id f95E42a20056 I try to do work PostgreSql on window 98. I had try and succes on winnt, but on windows 98 I have the following message : pq_flush: send() failed: The descriptor is a file, not a socket pq_recvbuf: recv() failed: The descriptor is a file, not a socket It's the postmaster that sais this. The initdb script is ok. I try with some several options PGHOST, PGPORT, PGDATA, but any of this change the error. In a strace command (strace -o psql.log psql -h 120.0.0.1 template1), I found this message 848 330060 [main] psql 526351 cygwin_socket: 3 = socket (2, 1, 0) 654 330714 [main] psql 526351 cygwin_setsockopt: setsockopt optval=1 528 331242 [main] psql 526351 cygwin_setsockopt: 0 = setsockopt (3, 6, 1 (SO_DEBUG), 254FC18, 4) 45329288 45660530 [main] psql 526351 __set_winsock_errno: cygwin_connect:883 - winsock error 10060 -> errno 116 461 45660991 [main] psql 526351 _close: close (3) 621 45661612 [main] psql 526351 fhandler_socket::close: 0 = fhandler_socket::close() If you have any idea ??? Thank's Samuel ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif -- 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/