C Board  

Go Back   C Board > Platform Specific Boards > Windows Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-03-2005, 07:18 AM   #1
Registered User
 
Join Date: Apr 2005
Posts: 3
rsh timeout

Hi,
My program requires rsh into another machine to do some jobs, but it looks like that windows RSh always timeout after 2 minutes.

Here is the sample test to illustrate error messages I got:

% rsh localhost /cygwin/bin/sleep 10000 < nul
Terminal read: The handle is invalid
> Recv failed: Connection reset by peer

Message "Terminal read: The handle is invalid" can be igored, but I'm wondering if anyone know how to extend the timeout value so that connection won't be disconnected after some time (approx 2 minutes)?

I'm using rsh server provided by Windows Services for UNIX. And, I read somewhere that I can extend the timeout value in registry,
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\RshSvc\DefaultTimeOut
to a new value, but it didn't work.
Did I mistyped the registry name, or edit at the wrong place?

Any help is greatly appreciated!


Thanks,
Jennifer
jlai is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HttpWebRequest.GetResponse() - Timeout exception Devils Child C# Programming 3 08-14-2009 01:23 PM
Function argument assignment between types "unsigned int*" and "unsigned long*" nadeer78 C Programming 8 03-10-2008 11:57 AM
how to setup C# TCPClient timeout George2 C# Programming 1 08-13-2007 12:09 PM
connect timeout X PaYnE X Networking/Device Communication 8 05-14-2005 09:30 PM
recvfrom() timeout Devil Panther Networking/Device Communication 13 09-11-2004 05:01 AM


All times are GMT -6. The time now is 06:16 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22