RE: Wininet functions return with error code 12029

From: Max (Max_at_discussions.microsoft.com)
Date: 10/13/04


Date: Wed, 13 Oct 2004 01:13:07 -0700

I decided to test ftp client that is written with use of sockets. In loop i'm
getting list of files of the current dir on the ftp. On the 13th iteration
there is thrown a socket exception with message "No connection could be made
because the target machine actively refused it". This exception is thrown
when the second socket for data transfer (for getting the files list) is
trying to connet to the server. If I try to put in the loop also the
connetion to the server and disconnection there is also the same exception
thrown on some iteration.
The device is the same iPAQ 1940. ActiveSync 3.7.1. Connection via USB. Ftp
in passive mode.



Relevant Pages

  • Re: BeginReceive return zero length buffer when run ,and work correctly when use step by step debug
    ... when I used the sync methods it throw exception related to mixed ... If I use the loop and don't break when recv zero length - I enter inside ... Do you ever try to read from the socket ... get a WSAEWOULDBLOCK error and go back to try again). ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: check socket alive
    ... > following are some piece of my code (mainly create a socket ... > connection to server and loop to receive data): ... Don't catch the exception at this level (because this method doesn't ...
    (comp.lang.python)
  • Re: Using socket class program hangs?
    ... This smells like it ... create the socket once and loop on receive. ... without it mine raises exception. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Asynchronous Programming
    ... then started them one after another in a loop. ... .Net must be using fibers or something. ... >>>> socket per thread that reads N number of packets. ... >>>> could just stop it in TaskManager without a crash. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How Do I Use An SSLServerSocket With ServerSocketChannel?
    ... it's Java 5.0 or give up. ... endless loops of reading a socket and writing to the other one while ... loop and when it does a ServerSocket.accept, it goes into the inner loop ... isn't that going to steal a lot of CPU time ...
    (comp.lang.java.help)