cygwin_attach_handle_to_fd and SOCKET.

2004-10-25 Thread Christophe LEITIENNE
I'm using cygwin_attach_handle_to_fd to attach a windows SOCKET to a cygwin file descriptor. I do it this way: fd = cygwin_attach_handle_to_fd("/dev/tcp", -1, WindowsSocketHandle, TRUE, GENERIC_READ|GENERIC_WRITE); This call works well under Cygwin 1.3.13, and calls to recv(fd,...) or send(fd,...)

Re: [ANNOUNCEMENT] Updated: cygwin-1.3.10-1 - bash application error

2002-02-28 Thread Christophe LEITIENNE
NY shell you start from login generates this error (not only bash). Christophe LEITIENNE -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

cygipc shmat bug

2002-01-30 Thread Christophe LEITIENNE
e; do ipctest.exe h a ; done" You'll see that some of the attachments fail with "shmat : Invalid argument" Well, I'm not sure this is really a new bug, since I saw that shmat uses mmap and mmap is buggy, right ? Best Regards, Christophe LEITIENNE -- Unsubscribe

Re: Descriptor passing between process

2002-01-24 Thread Christophe LEITIENNE
Hi all, > yes, but if i understand things correctly, Christophe was talking > about passing file descriptors between processes by means of AF_UNIX > sockets. btw, "Subject:" implies this :). > > this is done on unices via msg_control (or msg_accrights) field in msg > structure. and unices ensure