The Socket allInstances size inspect should go in the exception handler block before it throws the execption you don't want to see. On 29-Apr-09, at 8:58 PM, Cameron Sanders wrote:
Alexandre, you did mention having #port: sent to a ByteArray. It looks like the last line of FTPClient>>openPassiveDataConnection should be: self openDataSocket: remoteHostAddress asSocketAddress port: dataPort
instead of (current code): self openDataSocket: remoteHostAddress port: dataPort
With that change, the system drills on down and has a primitive failure in #port (on a Mac).
I will add "Socket allInstances size inspect" just above the #port: method in Socket>>connectTo:port:.
... and the answer is SmallInteger: 7. Anything else I should inspect in here?
-Cam PS: I am coming at this from the Monticello/FTP side, because my code is on an ftp server.
-- = = = ======================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ========================================================================