Home > Back-end >  Three layer architecture development problems d7 sql2008 TSocketConnection ScktSrvr. Exe client how
Three layer architecture development problems d7 sql2008 TSocketConnection ScktSrvr. Exe client how

Time:09-23

Recently in developing a three-tier architecture system, adopting sql2008 d7 + + TSocketConnection + ScktSrvr. Exe, the network is not stable, on the client or the client will be crashed after suddenly broken network system (no response) need to be out running again instauration normal, want to increase on the client when the network broken network or TSocketConnection drops can prompt to connect to the server's function, hope everybody can give some help to me, thank you very much!

CodePudding user response:

Add a heartbeat, every three minutes, check is break line, otherwise, reconnect,

CodePudding user response:

Have done, in the client's main form upon the time, every second and every fetching time server when fetching fail to reconnect, but the client still can appear the phenomenon of crash, don't know why!

CodePudding user response:

Break line, if there is a window display or hint! If you have the best is to send the message to process
  • Related