Remoting using TCP/IP
-
hi all, i have written a service in vb.net which repeatedly processes messages in the messagequeue. i send a message from messagequeue to a server through a gateway and wait for the response. I am using TCP Client that listens to a port, to send message to the gateway(an application that interacts with the server)and receive response from the server through the gateway. I am able to send and receive message from the gateway. The time taken to send message to the gateway is quick(1 or 2 seconds). but the response i get from the gateway takes a longer time. around 40 seconds. The server part of coding is done by another person and i dont have permissions to that side. How can i receive a faster response? is there anything i can do to improve it or should it be done in the server side?
Thanks in advance.:) Regards Anuradha
-
hi all, i have written a service in vb.net which repeatedly processes messages in the messagequeue. i send a message from messagequeue to a server through a gateway and wait for the response. I am using TCP Client that listens to a port, to send message to the gateway(an application that interacts with the server)and receive response from the server through the gateway. I am able to send and receive message from the gateway. The time taken to send message to the gateway is quick(1 or 2 seconds). but the response i get from the gateway takes a longer time. around 40 seconds. The server part of coding is done by another person and i dont have permissions to that side. How can i receive a faster response? is there anything i can do to improve it or should it be done in the server side?
Thanks in advance.:) Regards Anuradha
The problem is on the server side.
Stephen Lintott Bsc IT (RAU)
-
hi all, i have written a service in vb.net which repeatedly processes messages in the messagequeue. i send a message from messagequeue to a server through a gateway and wait for the response. I am using TCP Client that listens to a port, to send message to the gateway(an application that interacts with the server)and receive response from the server through the gateway. I am able to send and receive message from the gateway. The time taken to send message to the gateway is quick(1 or 2 seconds). but the response i get from the gateway takes a longer time. around 40 seconds. The server part of coding is done by another person and i dont have permissions to that side. How can i receive a faster response? is there anything i can do to improve it or should it be done in the server side?
Thanks in advance.:) Regards Anuradha
anu81 wrote:
How can i receive a faster response? is there anything i can do to improve it or should it be done in the server side?
You can't do anything to make it faster since you don't have access to the server-side code. You're completely at the mercy of the guy developing the server-side app.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008