Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!!!

www.cryer.info
Managed Newsgroup Archive

Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!!!

Subject:Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!!!
Posted by:"Jamie Dale" (j.da..@turboz.net)
Date:Tue, 6 Jun 2006 12:41:36

> But if you ever install the program on a system with multiple network
> adapters installed, that logic begins to fail.

Yes I'll have to address that. I think I'm going to do a complete re-write
of the program/service and tidy it all up. With any luck, it will sort out
my problem with it not working on machine #2 (which is still totally
unexplained lol). To be honest, when you first asked about network adapters,
I took it as you said it - Network - IE my Lan lol. I didn't at first
realise you meant multiple internet connections however now we've got that
straightened out I totally agree I must include this in the program.

> That is the whole point of HTTP response codes in the first place.  You
> don't have to look at the HTML content in order to know whether the
> request
> succeeded or failed.

Yes but supposing something went wrong with Bind, or the script suffered a
database error - Are you suggesting that they break the HTTP protocol, and
send a 404 error saying page not found? - It would not be right to say the
page was not found when the client was not actually requesting a specific
page. I agree that a code 200 would be useful, however how would they handle
errors AND describe the problem in the response?

I must confess, no-ip.com have a nice protocol to use but then you have to
pay to use a TLD..

>  FreeDNS should be sending a 200 reply if the update
> was successful.

Well there doesn't seem to be any standard protocol for dynamic dns service
hosts. I guess Freedns just coded it the way they thought would work and be
appropriate for them and their users. I guess it is always easy for us to
think of improvements for these services (Heck, I've suggested enough
features to them which they've agreed to think about but not implemented).

>> Hey, you didn't pick any major faults in my code/style yet - are
>> you feeling ok Remy?  :-P
>
> When people post a lot of code, I don't always go through it with a fine
> toothed comb right away, especially during the daytime when I'm usually
> doing other things.

Ok lol. I'll expect the ear-bashing later lol. Please be gentle though,
remember you don't want to put people off learning...

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive