Login  
Search All Forums
Dart Home | PowerTCP Winsock for ActiveX | Custom Development Reply | PowerTCP Winsock for ActiveX Topics | Forums   
AuthorForum: PowerTCP Winsock for ActiveX
Topic: Blocking Send Problems
ronid

From: Migdal Haemek, Israel
Posts: 14
Member Since: 12/20/02
posted September 25, 2003 8:24 AM

Dear friends,

I using DartSock.dll version 2.8.0.4.
I am sending data in a blocking manager (timeout = 10000)
sometimes the send operation fails in the following way:

The program get stuck, when I use the pause option in the debugger and then resume program, the send method complete with error,
but !!!!! :
1. requested bytes to send equal to actual bytes sent.
2. I have recieved the entire message in client computer.

Just after that, I get a state event in the sending computer telling me the connection was drop due to timeout failure in send operation.

any ideas ....... ?
Roni :)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 25, 2003 8:57 AM

You have to be careful when debugging TCP-IP related apps. Sometimes if you put a break point in the wrong place, events will be missed and things will not work as expected.

I would debug in such a way that the calls to send are allowed to complete before a breakpoint elsewhere is encountered.
ronid

From: Migdal Haemek, Israel
Posts: 14
Member Since: 12/20/02
posted September 25, 2003 12:05 PM

Thanks Tony,

I have been there :)
No breakpoints , beside those after
the call when function return with an error ....

Strange .... :)
Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX