cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: Errormessage "Descriptor is not a socket"

From: A. Craig West <acraigwest_at_gmail.com>
Date: Tue, 10 Nov 2009 11:34:29 -0500

>> Datum: Fri, 6 Nov 2009 11:35:18 +0100 (CET)
>> Von: Daniel Stenberg <daniel_at_haxx.se>
>> On Fri, 6 Nov 2009, th_work_at_gmx.de wrote:
>> > I have a client application posting data to a servlet (tomcat) using
>> http or
>> > https. With most clients it works really fine, but a few return
>> curl-code 7
>> > "Descriptor is not a socket.".
>> >
>> > What can cause this error?
>> >
>> > Operating system is a Windows XP (SP3) with a DSL-Connection.
>>
>> It seems to be WSAENOTSOCK. That seems like an error code that shouldn't
>> occur. Possible bug? I think it needs some digging to figure out properly!

About the only thing I know of which could cause this error is if we
are reusing a descriptor after closing the socket, and the descriptor
has been reused for something else. Not sure the best way to trace
this. Cygwin's strace might do it, if you can get the user to install
it.
-Craig
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-10

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET