![]() |
| | #1 |
| Registered User Join Date: Apr 2005
Posts: 3
| rsh timeout 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 | |
![]() |
| Thread Tools | |
| Display Modes | |
|
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 |