delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/18/06:34:29

From: masplund AT cs DOT Helsinki DOT FI (aspa)
Subject: Re: probs porting ssh
18 Feb 1997 06:34:29 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.SOL.3.91.970218134158.6190A-100000.cygnus.gnu-win32@hydra>
Reply-To: aspa AT iki DOT fi
Mime-Version: 1.0
X-Sender: masplund AT hydra
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <Pine.LNX.3.91.970217043226.27604A-100000@spartan.pei.edu>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

i've also given it a try.

On Mon, 17 Feb 1997, Sheik wrote:

>    getsockopt() doesn't seem to be implemented? or it can't be found in the
> library, altho the .h files define it.  setsockopt() seems to be 
> implemented...

no.

>   another problem in the main client loop. using select().  ssh sets up
> 2 flags on the socket, TCP_NODELAY, this one appears to work and be set
> correctly. but the flag IPTOS_LOWDELAY, the socket returns that it isn't
> implemented yet. which is cool, I just removed that set, but unfortunely, 
> when I do that, when select() see's that socket, it returns a bogus error
> of "No such file of directory".

the problem is that cygwin32 select() doesn't support simultanious
reads/writes from/to sockets and handles - yet. this is a severe problem
in porting ssh. 

> If anyone has solved this prob, or has actually done the ssh port, I sure
> would love to hear how ya did it =)

how did you come by the problems with tcgetattr(), tcsetattr()?

--
		aspa


-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019