Kovacsa,
That is a programming error caused by attempting to perform a socket function (such as setsockopt()) on a descriptor that is not actually a socket.
Has the FTP software been recently ported to a different operating system?
Regards,
Jason Deckard
http://www.closedsocket.com/