R
RobRasti
I've got a handheld application that is sending and receiving data
over a NetworkStream. The physical connection to the server is either
a dialup modem or ActiveSync to a PC connected over VPN to the host
system.
Because of past performance issues there is an application level
protocol being used where in the Sender will send an XML message with
a unique ID and the Receiver will acknowledge that message by sending
back the unique ID.
The problem I am having is the following:
Handheld sends an Authentication request
Server responds with the proper acknowledgment
Server then validates the handheld and sends back further directions
Handheld responds but the Server never gets the acknowledgment
The Handheld does indeed get the further directions because it
continues on the processing as though nothing happened. However the
Server encounters a timeout waiting for the acknowledgment.
The handheld, as part of the normal processing receives the message
and closes the NetworkStream. Is there a chance that I am closing the
network stream before it has a chance to get the message out?
-R-
over a NetworkStream. The physical connection to the server is either
a dialup modem or ActiveSync to a PC connected over VPN to the host
system.
Because of past performance issues there is an application level
protocol being used where in the Sender will send an XML message with
a unique ID and the Receiver will acknowledge that message by sending
back the unique ID.
The problem I am having is the following:
Handheld sends an Authentication request
Server responds with the proper acknowledgment
Server then validates the handheld and sends back further directions
Handheld responds but the Server never gets the acknowledgment
The Handheld does indeed get the further directions because it
continues on the processing as though nothing happened. However the
Server encounters a timeout waiting for the acknowledgment.
The handheld, as part of the normal processing receives the message
and closes the NetworkStream. Is there a chance that I am closing the
network stream before it has a chance to get the message out?
-R-