Still playing with TFLogin, the Google reCAPTCHA call involves the SocketStream class. It appears to be something equivalent in GLASS: SqueakSocketStream. But then the following method calls NetNameResolver. This is not in GLASS...
openConnectionToHostNamed: hostName port: portNumber | hostIP | hostIP := NetNameResolver addressForName: hostName timeout: 20. ^self openConnectionToHost: hostIP port: portNumber Any suggestions for plan B? NetNameResolver does not look trivial to port. I could call an external script for now (for example http://happy-coding.com/retrieve-ip-address-from-host-name-using-ruby/) Thierry |
I would think that you can find the functionality you need in GsSocket ... hopefully...
Dale On Apr 15, 2011, at 8:04 PM, Thierry Thelliez wrote: Still playing with TFLogin, the Google reCAPTCHA call involves the SocketStream class. It appears to be something equivalent in GLASS: SqueakSocketStream. But then the following method calls NetNameResolver. This is not in GLASS... |
In reply to this post by Thelliez
I made a port of SocketStream in http://seaside.gemstone.com/ss/PharoCompat that might work. It passes all the tests from Pharo and implements #openConnectionToHostNamed:port:
|
Excellent ...
I've got some things on my plate that I've got to clear off at GemStone, but I am really looking forward to integrating the contributions that you guys have made in the last several months ... there's lots of neat stuff that I'd like to pull together. And I'm hoping that the MetacelloBrowser will be available, because it should make the process of you guys integrating the changes into GLASS (without waiting for me) much easier ... Dale On Apr 15, 2011, at 9:12 PM, Paul DeBruicker wrote:
|
Free forum by Nabble | Edit this page |