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: Winsock and Vista
peo@germatech.se

From: Jönköping, Sweden
Posts: 5
Member Since: 11/28/06
posted March 4, 2009 8:43 AM

Testing my apps in Vista I noticed that the TCP-control state goes to connected for 20 seconds when the host doesn't exist. After 20 seconds the socket closes again. Version of my dartsock.dll is 2.8.2.0. Will an update to the newest version correct this? (As I don't use the ActiveX-control for new development, I would like to know if an update is worth the money in this case).
peo@germatech.se

From: Jönköping, Sweden
Posts: 5
Member Since: 11/28/06
posted March 4, 2009 10:50 AM

I did update to ver 2.8.5.0 but the problem is still there. Is there a solution for this?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted March 4, 2009 11:19 AM

Hi,
Are you sure it is a Connected state?
Are you using non-blocking (Timeout = 0)?

It should go to a Connecting state, not Connected.
And if you want it to timeout sooner, you should be able to set the Timeout property.
(You can set it to 0 after the connection, if you wish).

Hope it helps,
-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

peo@germatech.se

From: Jönköping, Sweden
Posts: 5
Member Since: 11/28/06
posted March 5, 2009 1:09 AM

Hi,
it first goes to Connecting and then immediatly goes to Connected. The timeout property makes no difference in this case, it connects and then disconnects after 20 seconds, no matter if Tiemout is 0, 5000 or 30000.
The close sequence is also "correct" i.e. it frist goes to Closing and the Closed.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted March 6, 2009 12:35 PM

Hi,
When I use the TCP Client sample on a Vista machine and try connecting to a host that does not exist, it goes to a Connecting state and then throws a 10060 timeout error after 20 seconds.

Do you see different behavior when you run the sample?
Or what exactly do I need to do differently to reproduce this issue?

Thanks,
-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

peo@germatech.se

From: Jönköping, Sweden
Posts: 5
Member Since: 11/28/06
posted March 7, 2009 6:34 PM

Hi,
I tried with the TCP CLient sample and it behaves exactly as my app. Immediate connect and disconnect after 20 seconds and no error thrown.
I have VMWare Workstation installed (but not started) and therefore some extra virtual nic:s are present. I have tried with them disabled, but that didn't change anything. I am using Swedish Vista Business SP1.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted March 27, 2009 9:14 AM

Hi,
I have tried it on many machines, including a Vista Business machine and a Vista machine with VMWare installed.

I am still unable to reproduce this behavior.
Also, we have not had any reports from other users of this problem.

Do you see this on multiple machines?
Do you have English Vista to try with?

The problem seems to be specific to your environment; unfortunately, I do not know exactly what the cause is.

Thanks,
-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX