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,...)
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/
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
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
4 matches
Mail list logo