From: Christine.Pourcelot@inria.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
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "gnu-win32@cygnus.com" <gnu-win32@cygnus.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@cygnus.com" with one line of text: "help".
