On Sun, May 16, 2010 at 6:36 PM, RickT <Rick@emarysville.com> wrote:
I am loving the Smalltalk environment and language very much, thanks! (But I remain an ignorant newbie nonetheless.) I hope to later explore Seaside with Pharo as well.
Excellent. Just in case you don't know: http://pharobyexample.org/ http://book.seaside.st/book and in progress: http://book.pharo-project.org/
To my problem:
With the Pharo 1.0 image, the classVarNamed:put: message was not understood. (Same for Linux version of Pharo 1.0).
Ups...sorry. Actually that was for breaking encapsulation as NetNameResolver does not have a setter for such class variable. To do a quick test just implement a class side method in NetNameResolver like this: useOldNetwork: aBoolean UseOldNetwork := aBoolean And then evaluate: NetNameResolver useOldNetwork: true.
With the Pharo 1.1 image you linked me to, the message was understood, but had no effect.
I still cannot get Socket>>ping: to work; it always times out.
Ok...the network package is not the best in Pharo and we had several problems :(
And yes, I meant the OS command window ping worked. For Windows XP it is what you would call the DOS command line. I also downloaded and tried the Pharo1.0 in my VirtualBox VM running Ubuntu. I have the same problem: I can ping localhost from the Linux command line, but Pharo 1.0 ping always times out.
Ok...I know very little about network but maybe someone can help you. cheers mariano
(I am running on a Dell M90 Precision laptop. FWIW)
Thanks very much for your help.
Mariano Martinez Peck wrote:
On Sun, May 16, 2010 at 4:28 AM, RickT <Rick@emarysville.com> wrote:
I installed the one-click version on Windows (XP) recently and am learning Smalltalk.
Welcome! we hope you enjoy :)
I am under the impression that in a Shout Workspace I can execute the line
Socket ping: 'localhost'
(or some valid address). But I always get a message that it timed out. I can successfully ping the same address in a command window.
Sorry I don't understand. Where you can successfully ping ? what's is a command window? do you mean DOS or somehow outside Pharo?
Can you try the same after evaluating:
NetNameResolver classVarNamed: 'UseOldNetwork' put: true
Can you try also the same but using a PharoCore 1.1 image (you can use
the
same VM):
https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE....
Thanks!
Mariano
Any guidance would be appreciated.
-- View this message in context:
http://forum.world.st/Newbie-Does-Socket-ping-addr-work-in-Pharo3-11-8-tp221...
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
-- View this message in context: http://forum.world.st/Newbie-Does-Socket-ping-addr-work-in-Pharo3-11-8-tp221... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users