[squeak-dev] The Trunk: Network-tonyg.262.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jun 7 07:33:05 UTC 2022


Tony Garnock-Jones uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-tonyg.262.mcz

==================== Summary ====================

Name: Network-tonyg.262
Author: tonyg
Time: 7 June 2022, 9:32:58.541461 am
UUID: 510fd136-5da5-43a8-93c3-d5adbe439d14
Ancestors: Network-mt.261

I missed a case in Network-tonyg.260. This change fixes connectTo:waitForConnectionFor: in the same way as the previous fix to connectTo:port:waitForConnectionFor:.

=============== Diff against Network-mt.261 ===============

Item was changed:
  ----- Method: Socket>>connectTo:waitForConnectionFor: (in category 'ipv6') -----
  connectTo: aSocketAddress waitForConnectionFor: timeout 
  
  	self connectNonBlockingTo: aSocketAddress.
  	self
  		waitForConnectionFor: timeout
+ 		ifTimedOut: [ConnectionTimedOut signal: ('Cannot connect to {1}' translated format: {aSocketAddress printString})]
+ 		ifRefused: [ConnectionRefused signal: ('Cannot connect to {1}' translated format: {aSocketAddress printString})]!
- 		ifTimedOut: [ConnectionTimedOut signal: ('Cannot connect to {1}' translated format: {aSocketAddress})]
- 		ifRefused: [ConnectionRefused signal: ('Cannot connect to {1}' translated format: {aSocketAddress})]!



More information about the Squeak-dev mailing list