I was trying to get some insight into my problems with the RFB/VNC performance and tried the purportedly trivial `Socket ping: 'gravious.local'`
It doesn't work from Squeak. It does from a shell, or indeed from the OSProcess sub task. 'Gravious.local' is the bonjour name for my local X64 xubuntu box. The result is an immediate error because the apparent problem is that attempting to connect the socket to the (correctly resolved) IP leaves the socket status as 0/Unconnected. This actually makes the ping: code drop straight out and run the refusedBlock in Socket>>#waitForConnectionFor:ifTimedOut:ifRefused:
If I try 'google.com' (you might have heard of them?) it doesn't do this but instead simply times out after 10 seconds. If I try using the IP address instead of the name, it makes no apparent difference, not even for the same machine/localhost.
I tried out Socket class>>#pingPorts:on:timeOutSecs: for fun, since it tries a list of normally accessible ports. No luck there either.
I've tried from ARM 64bit linux, X64 linux, Mac OS - can't try from Windows. What on earth?
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Fractured Idiom:- RIGOR MORRIS - The cat is dead