This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSH -R problem


At 10:32 AM 4/30/2002 +0200, Corinna Vinschen wrote:
>> Of course we are then exposed to the issue that Cygwin was trying
>> to fix by setting linger to On, i.e. the case of a process 
>> exiting just after the close(). Fortunately sockets are usually 
>
>...why cant we keep that, i. e.
>
>   If the socket is non blocking
>     then make it blocking
>    set linger to On, as done currently

because in the case of a server handling many connections at once
(ssh or sshd, among others) you don't want to block the whole operation 
when closing one socket.

Pierre
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]