This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Need tips to open a socket and to debug it
- From: Henri <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Tue, 19 Jan 2016 08:48:37 +0000 (UTC)
- Subject: Re: Need tips to open a socket and to debug it
- Authentication-results: sourceware.org; auth=none
- 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>
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