Home > Back-end >  Delphi about TServerSocket/TClientSocket realize communication, the network login time problem
Delphi about TServerSocket/TClientSocket realize communication, the network login time problem

Time:10-14

I use TServerSocket/TClientSocket realize communication, information content into XML format string, server deployment in Intranet access is very fast, but deployed in real environment from outside network access will be slow, only a login request, caught also found little traffic, the network is normal, but the login process takes 15 seconds to complete, we give some advice, where is the problem? Under the guidance of how to deal with!!!!! thank you

CodePudding user response:

Could not login should use so long time, it has a lot of socket source, you find a with the server under test, and then compared with your application: see if I can find the problem
http://download.csdn.net/detail/geoff08zhang/4571358

CodePudding user response:

I don't have net tried out, novice learning, help

CodePudding user response:

With the code does not know?

CodePudding user response:

Should be a connection time is long, for the first time after the connection is established communication not so slow

CodePudding user response:

Is to specify the IP networks outside or by domain name to obtain IP?
May be get IP time is too long

CodePudding user response:

Should not need 15 s such a long time, this time all can completely opened the home page of netease all content,
Look at your service, tracking the historical record (or print out) is a long connected to accept links or you deal with the process of landing a long time, I think may be your long processing data,
  • Related