Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Oct : Re: Indy 10 FTP repost - getting urgent
| Subject: | Re: Indy 10 FTP repost - getting urgent |
| Posted by: | "Lee Cook" (lee.co..@kwikhols.co.uk) |
| Date: | Fri, 20 Oct 2006 08:49:44 |
Gambit,
If i run the application outside of the debugger it just hangs at the
connect with no errors or anything, it is when i run it through the debugger
and i step through the code until i hit the Idftp.connect() then as i step
onto the connect line it waits then the dubbuger shows the socket error then
the debugger shows a connection time out
If you want I can give you the FTP details that I am trying to connect to,
but if you mail me privatly for these i will send them to you personnally.
My e-mail is lee.cook@kwikhols.co.uk
Thanks
Lee
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:4537c76b$1@newsgroups.borland.com...
>
> "Lee Cook" <lee.cook@kwikhols.co.uk> wrote in message
> news:45377ba6$1@newsgroups.borland.com...
>
>> I am using Indy 10 idFTP to connect to a server but I get the following
>> error when it tries to connect:
>>
>> Project Charter.exe raised exception class EIdNotASocket with message
>> 'Socket Error # 10038 Socket operation on non-socket.'
>
> Is it happening inside of Connect() itself? Or is it happening when
> sending
> commands after connecting?
>
> Also, the error message suggests that you are running inside the debugger
> at
> the time of the exception. Indy does use exceptions internally for its
> own
> private notifications. The debugger catches all exceptions before the
> application does. Do you still see the exception when running the
> application outside of the debugger? If not, then all is well.
>
>
> Gambit