[Gambas-bugtracker] Bug #1435: Socket file still exist after a timeout and close

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Oct 11 08:33:36 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1435&from=L21haW4-

Vincent DEMARQUE reported a new bug.

Summary
-------

Socket file still exist after a timeout and close

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Unknown


Description
-----------

Dear Gambas team,

First congratulation for your great work. I'm coming from the VB6 world and I'm really happy to use Gambas now ! Thanks a lot.

My problem is the following :
I did some TCP tests with the socket component.
A soon as a TCP client is trying to establish a communication to an active IP with no active server, the connexion fails and a new socket file is created in /proc/(pid)/fd.
But, even if I close the socket, this file remains and I have no way to remove it.

If we try this a second time, we have a second file and so on.

After a while, the file limit is reached.

Do you have a solution for that ?

Thanks a lot

Vincent Demarque


System information
------------------

Debian 9
Gambas 3.9.1




More information about the Bugtracker mailing list