Re: Connect - Invalid host name (General questions)
Iulian,
this is by design - component didn't start the connection at all since it cannot resolve the hostname. So, you must add the code to catch the exception.
Similar thing is in, for example, PutFile when local file doesn't exist - exception will be thrown (well, it is visible as exception in Delphi) instead of Done event. That's because internal protocol didn't even start - since error occurred much sooner.
Hope I helped.
Kreso
Complete thread:
- Connect - Invalid host name - Iulian, 2006-04-10, 11:04
- Re: Connect - Invalid host name - wodSupport, 2006-04-10, 12:23