http://gambaswiki.org/bugtracker/edit?object=BUG.1435&from=L21haW4- Comment #2 by Vincent DEMARQUE: You can download the project example here : http://vdemarque.free.fr/tcpclient.zip Just click "Connect" and have a look at "ls -l /proc/<pid>/fd"