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: My control seems to be resetting the connection
The_King



From: Cedar Falls, IA USA
Posts: 17
Member Since: 10/10/02
posted September 25, 2003 2:46 PM



What my control is doing is that it will connect to a State server, send it's information then the State server sends back an ACK message and I have to ACK that message with one of my own.

Intermitantly (of course) the control will, connect to the State server, send information, disconnect, reconnect,(sounds like a reset of the connection actually) and in so doing will miss the ACK message from the state.

It most of the time works but sometimes will do this a couple times a day and then work fine for a week.

The_King
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 25, 2003 2:51 PM

Please tell me how to duplicate the problem. It may not seem possible, but unfortunately I can't determine if somethings wrong until you show me how to make it occur.



The_King



From: Cedar Falls, IA USA
Posts: 17
Member Since: 10/10/02
posted September 29, 2003 1:12 PM

ok, you want my code?

I do this:

on Connect:

frmMN_Interface.tcpNCIC.Connect tmpSTATE_IP, tmpSTATE_PORT

where tmpSTATE_IP is my connection to the state computer and tmpSTATE_PORT = 5010

then on Send: 

tcpNCIC.Send NCIC_MN_START_PAT & NCIC_MN_BLOCK_LENGTH_ACK & NCIC_MN_HEADER_LEN & NCIC_MN_FUNCTION_CODE_ACK & NCIC_MN_VALUE_CODE & NCIC_MN_DATA_LENGTH_ACK & NCIC_MN_STATUS_CODE & NCIC_MN_DEST_CODE & NCIC_MN_STOP_PAT

Don't know how much of that will help you.

but it seems to have done the little 'hickup' this last weekend again.

The State person put a trace 'sniffer' on the incomming message and he said that it again looked like the tcp connection opened, sent the info, dissconnected, reconnected.
And in doing so my control seemed to have missed the ACK message back from the state.

The_King
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 29, 2003 1:18 PM

I meant that I need a set of steps to take to duplicate the problem at will. If you don't have those steps, then you need to spend more time isolating the problem.

If you need help isolating the problem, please contact our sales department to find out about support packages.
The_King



From: Cedar Falls, IA USA
Posts: 17
Member Since: 10/10/02
posted September 29, 2003 2:01 PM

ok, this is an intermittant problem.
Other than connecting and sending the information and then sitting and waiting for a responce what else is there to do?

TheKing
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 29, 2003 2:03 PM

Nothing I can think of.
Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX