From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110605 invoked by alias); 19 Jan 2016 08:48:49 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 110595 invoked by uid 89); 19 Jan 2016 08:48:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:loom.20, H*f:sk:loom.20, emulation, localonly X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 19 Jan 2016 08:48:48 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aLRxz-0000Og-0Q for cygwin@cygwin.com; Tue, 19 Jan 2016 09:48:43 +0100 Received: from a83-162-234-136.adsl.xs4all.nl ([83.162.234.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2016 09:48:42 +0100 Received: from houder by a83-162-234-136.adsl.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2016 09:48:42 +0100 To: cygwin@cygwin.com From: Henri Subject: Re: Need tips to open a socket and to debug it Date: Tue, 19 Jan 2016 13:39:00 -0000 Message-ID: References: <956984971.4908269.1452966941574.JavaMail.yahoo.ref@mail.yahoo.com> <956984971.4908269.1452966941574.JavaMail.yahoo@mail.yahoo.com> <1645435954.1234364.1452968175143.JavaMail.yahoo@mail.yahoo.com> <20160118161304.GB21254@calimero.vinschen.de> <20160118181623.GD21254@calimero.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00220.txt.bz2 Corinna Vinschen cygwin.com> writes: > > On Jan 18 18:10, Henri wrote: > > Corinna Vinschen cygwin.com> writes: > > > > > There's no firewall involved if a simple socket call goes wrong. > > > For AF_LOCAL Cygwin opens an AF_INET socket, but which is unbound > > > until you call bind or connect. > > > > s/AF_INET/AF_UNIX/ ????? (sorry for my intrusion) > > AF_UNIX == AF_LOCAL. Not available on Windows so needs emulation. > The emulation uses local-only AF_INET sockets. You are correct ... I simply misread your communication. What POSIX refers to as AF_LOCAL, and SUSv3 refers to as AF_UNIX, is an 'Unix Domain socket' ... and of course, that type of socket needs to be emulated on Windows. Clear. Sorry for the noise ... Henri -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple