
Signature
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
>> I did some investigation and found out, that the default time for
>> dns-caching is infinite. And I found the property, that is supposed to
[quoted text clipped - 16 lines]
> How often does your client close and re-open its server connection? How
> does that compare with the rate at which the server changes IP?
Hi Martin!
Thank you for your answer! The answer to the questions you asked are:
- The server changes maybe once a day and may as well be offline for days.
It is a moving server for a demo application and therefore uses a dial up
line.
- Even after days, my client is not able to reconnect. I have to restart
the application, afterwards it does work..
- I can see, that the server-name (it's a dynamic IP hoster) is resolved
accurately on that machine.
If you take all this into account, can you maybe give me another hint?
Regards
Lars

Signature
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
Martin Gregorie - 21 May 2007 18:04 GMT
>>> I did some investigation and found out, that the default time for
>>> dns-caching is infinite. And I found the property, that is supposed
[quoted text clipped - 26 lines]
> - Even after days, my client is not able to reconnect. I have to restart
> the application, afterwards it does work..
Sounds to me as if your client should close and reopen the connection
more often.
You don't say anything about the application protocol used to talk to
the server, but if its uses request/response message pairs the simplest
approach would be to connect, send the request, read the response and
disconnect every time. A slightly more complex solution would drop the
connection after x minutes of client inactivity and reconnect when the
next request is to be sent.
> - I can see, that the server-name (it's a dynamic IP hoster) is resolved
> accurately on that machine.
[quoted text clipped - 3 lines]
> Regards
> Lars

Signature
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |