Need tips to open a socket and to debug it

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jan 19 13:51:00 GMT 2016


On Jan 19 08:48, Henri wrote:
> 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 ...

No worries, it's better asking if something's unclear.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160119/3f16cce8/attachment.sig>


More information about the Cygwin mailing list