delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/19/03:49:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=xd4Qg4rydSoKmYsqK5AVdsKsR0juf7ztpdmVY9iraE7NPgx6Je87x
9BxnwGYoRoJpCXV4UtH0T3bkvC6B/TNuYXABq9De5mTjlg3msOEppg4ere5FLR3x
jI37H04+3Q/O43Axr2+IwIuJ/wdIX696TGDN/F3HplpLqKGbgKOIOs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=5WSdcjTIIVJJn1yb8CZbwzU3qVw=; b=PkDigfNaFpGWjrwgYzTPOOrQhEF4
R5GIo6G1RGYJlQpm6K2hhpVfaxD7xa3R6NKNPScni0UYllejxsl8NaH2HLOtgtck
BFneJGEFQE2faNrr7BbCEU6uwihPJ1i9J/qe8f1SDqi2Z3V5ZkX4jjqvPKsm+xfj
v/+kCbNHcuMZ9ow=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
To: cygwin AT cygwin DOT com
From: Henri <houder AT xs4all DOT nl>
Subject: Re: Need tips to open a socket and to debug it
Date: Tue, 19 Jan 2016 08:48:37 +0000 (UTC)
Lines: 24
Message-ID: <loom.20160119T094026-134@post.gmane.org>
References: <956984971 DOT 4908269 DOT 1452966941574 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com> <956984971 DOT 4908269 DOT 1452966941574 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <1645435954 DOT 1234364 DOT 1452968175143 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <20160118161304 DOT GB21254 AT calimero DOT vinschen DOT de> <loom DOT 20160118T190624-659 AT post DOT gmane DOT org> <20160118181623 DOT GD21254 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> 
> On Jan 18 18:10, Henri wrote:
> > Corinna Vinschen <corinna-cygwin <at> 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

- Raw text -


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