EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Best way?

Posted: 03/27/2013 07:58:32
by Yves Roulet (Standard support level)
Joined: 01/12/2012
Posts: 9

Hi Eugene,

I need your help to found the best way to solve my problem.

My client connect to a server and request something (via a sendmessage the server answers that he will answer). The answer in some case is imediate but in others case could occurs only 1 or more hours later. The server answer via a postmessage. My problem is that if the answer will occur to late since the request the message is lost only in some computers but not in others... I use only the IP adress without magic numbers before for the postmessage.
What do you sugest in this case?:
- that the client send like a ping permanently, to maintain the connection?
- to change the client in P2p?

Thanks for your help
Posted: 03/28/2013 08:36:13
by Eugene Mayevski (Team)

The best approach is to keep a client as a client and then do the following:

1) let the server return "response is delayed" if there's no actual response AND also return some response ID
2) the client should send the obtained response ID to the server periodically until it gets the response.

The idea is to pick the response later.

If you need more detailed explanation, please let me know.

Sincerely yours
Eugene Mayevski



Topic viewed 4822 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!