Re: Client app hangs in the debugger

"Jae Kim" <[email protected]> Thu, 19 Sep 2002 16:35:39 -0700
Newsgroups gmane.network.beep.roadrunner.general
Message-ID <004201c26035$45e31b80$0202a8c0@micron>
I think I'm pretty close to solving this problem but I need help.

The lockup occurs on the client side when a greeting message is sent and is waiting for a greeting from the server.  

Usually the lockup occurs when the client software is running slow and the network has little delay.  I can replicate the error consistently when running the client with MSVC debugger and on a LAN.  Both the server and the client is on the LAN.

Over the internet things are much better.  The lockup rarely occurs but it does occur when the PC is running really slow, usually in the debug environment with a lot of stuff going on in the background.

Seems like some sort of timing issue.

Is there a way to implement a timeout on the blocking calls?  For now I would like to do a timeout and do a retry if it doesn't return after some time.

Thanks,
Jae

  ----- Original Message ----- 
  From: Jae Kim 
  To: [email protected] 
  Sent: Wednesday, September 18, 2002 9:56 AM
  Subject: [Roadrunner] Client app hangs in the debugger


  My client app works fine when running without the debugger but when I run it with the debugger the application hangs.

  The application hangs on rr_connection_start().

  Any ideas?

  I'm using VC6.0 on Windows2000.

  Thanks,
  Jae