WSADuplicateSocket used to implement ssh session multiplexing?

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Nov 24 17:14:00 GMT 2005


On Thu, Nov 24, 2005 at 05:41:39PM +0100, Samuel Thibault wrote:
>Corinna Vinschen, le Thu 24 Nov 2005 16:41:38 +0100, a ?crit :
>>On Nov 24 12:39, Samuel Thibault wrote:
>>>Corinna Vinschen, le Thu 24 Nov 2005 12:25:03 +0100, a ?crit :
>>>>You're missing the infrastructure necessary to send file descriptor
>>>>data between processes.
>>>
>>>This is not trivial indeed, but it is _possible_, isn't it?
>>
>>Well, sure, everything is possible one way or the other.
>
>Not when it requires modifying the windows kernel because of security
>guards.  Here, transfering a windows socket handle _is_ possible with
>the current kernel.  Work only resides in cygwin.  That's the expected
>answer to the original question, I guess.

Yeah, if only the infrastructure necessary to send file descriptor data
between processes wasn't trivial.  If it was, we could even use plain
old DuplicateHandle.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list