Subject: [B20.1] Are AF_UNIX sockets supported by cygwin ?
From: [email-masked] (Christine pourcelot)

15 Jan 1999 03:09:54 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "[email-masked]" <[email-masked]>

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
"[email-masked]" with one line of text: "help".