I am trying to port Magma to Pharo, and I have run across the following
issue.
Ini Pharo, the method:
Socket>>connectTo: hostAddress port: port waitForConnectionFor: timeout
(mir 6/17/2007 20:10)
"Initiate a connection to the given port at the given host
address. Waits until the connection is established or time outs."
self connectNonBlockingTo: hostAddress port: port.
self
waitForConnectionFor: timeout
ifTimedOut: [ConnectionTimedOut signal: 'Cannot connect to '
, self *remoteHostAddress* hostNumber , ':' , port asString]
#*remoteHostAddress* has no implementors in Pharo.
The implementation of this method in Squeak uses *NetNameResolver*
Socket>>connectTo: hostAddress port: port waitForConnectionFor: timeout
(mu 8/14/2003 15:15)
"Initiate a connection to the given port at the given host
address. Waits until the connection is established or time outs."
self connectNonBlockingTo: hostAddress port: port.
self
waitForConnectionFor: timeout
ifTimedOut: [ConnectionTimedOut signal: 'Cannot connect to '
, (*NetNameResolver* stringFromAddress: hostAddress) , ':' , port asString]
Who is maintaining Socket now in Pharo?
Has anyone got some advice on how to solve this?
Cheers
r.