login about faq


We got the following error several times during we testing/using Chilkat program FTP2 which we downloaded your evaluation version about a month ago. Could you please help how to solve this issue? Thanks,

connect2: connectSocket: connect_ipv6_or_ipv4: SocketError: WSAENOBUFS No buffer space is available. The socket cannot be created. --connect_ipv6_or_ipv4 --connectSocket failReason2: 7 --connect2

Regards, Feng

asked Aug 29 '14 at 16:51

Omega's gravatar image


This is a case where the error message should be Googled. Google "WSAENOBUFS No buffer space is available". The 1st search result is this URL: http://wiki.scn.sap.com/wiki/display/ABAP/WSAENOBUFS%3A+10055%3A+No+buffer+space+available

The explanation on the web page at the above URL is:

"The WSAENOBUFS is returned because you are calling a port that was recently used and has not yet been released. If you try to use a TCP port that is already in use, the operating system (OS) will trigger an error, but not because the OS is behaving improperly, but just to warn that the APPLICATION making use of the OS sys call is trying to do something that is incorrect: you cannot bind two different applications to the same TCP port."


answered Aug 30 '14 at 15:50

chilkat's gravatar image

chilkat ♦♦


Thanks you for the help. We are still investigating this issue. Will update what we found.

More question, please see below function: we did not disconnect FTP(ftp.Disconnect)if there is an FTP connection issue - could be this cause some problems?


... ...

success = ftp.Connect() If (success <> 1) Then error_msg = ftp.LastErrorText

'should we put ftp.Disconnect here before exit function?

exit function

End If

... ...

ftp.Disconnect end function

Regards, Feng


answered Sep 02 '14 at 17:57

Omega's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 29 '14 at 16:51

Seen: 4,258 times

Last updated: Sep 02 '14 at 17:57

powered by OSQA