[squeak-dev] The Trunk: Network-fbs.140.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 1 10:40:08 UTC 2013


Frank Shearar uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-fbs.140.mcz

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

Name: Network-fbs.140
Author: fbs
Time: 1 March 2013, 10:39:25.076 am
UUID: 9f6d4989-84fc-4303-87ab-406d2296fd73
Ancestors: Network-fbs.139

If the user gives up on trying to resolve a name, fail the socket connect completely.

http://bugs.squeak.org/view.php?id=4025.

=============== Diff against Network-fbs.139 ===============

Item was changed:
  ----- Method: SocketStream class>>openConnectionToHostNamed:port: (in category 'instance creation') -----
  openConnectionToHostNamed: hostName port: portNumber
  	| hostIP |
  	hostIP := NetNameResolver addressForName: hostName timeout: 20.
+ 	hostIP ifNil: [NetworkError signal: ('Cannot resolve {1}.' format: {hostName})].
  	^self openConnectionToHost: hostIP port: portNumber!



More information about the Squeak-dev mailing list