delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/15/03:09:54

From: Christine DOT Pourcelot AT inria DOT fr (Christine pourcelot)
Subject: [B20.1] Are AF_UNIX sockets supported by cygwin ?
15 Jan 1999 03:09:54 -0800 :
Message-ID: <369EF8A2.59B17DDC.cygnus.gnu-win32@inria.fr>
Mime-Version: 1.0
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

Hi
I've troubles with AF_UNIX sockets... Here is some code that makes me
think AF_UNIX sockets are not supported by cygwin :

# include <stdio.h>
# include <sys/socket.h>

int main ( int argc, char * argv [ ] )
{
  int sock;
  sock = socket ( AF_UNIX, SOCK_STREAM, 0 );
  if ( sock < 0 )
    printf ( "Beuh...\n" );
  return 0;
}

I got "Beuh..."
If i change AF_UNIX to AF_INET, it works well...
Can anybody help ?
Thanks

--
Christine Pourcelot
Stagiaire projet CODES
INRIA ROCQUENCOURT
tel : 01 39 63 57 70


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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