Mail Archives: cygwin/1999/01/15/03:09:54
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 -