functionality of Socket>>socketError

Stephan Rudlof sr at evolgo.de
Tue Aug 24 20:43:14 UTC 2004


Kamil Kukura wrote:
> I'm investigating if Socket>>socketError is usable for anything. Could 
> someone try this on Linux or MacOS:
> 
>     s _ Socket new.
>     s connectNonBlockingTo: #(127 0 0 1) asByteArray port: 12345.
> 
> and then print

If here is some pause (inspecting s)...

> 
>     s socketError
> 
> on Windows (WinXP) I'm still getting zero.

(and self socketError in the inspector)
then under Linux I get: 111.

> 

-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3



More information about the Squeak-dev mailing list