[squeak-dev] The Trunk: Network-mtf.120.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 28 04:31:45 UTC 2011


Matthew Fulmer uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-mtf.120.mcz

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

Name: Network-mtf.120
Author: mtf
Time: 28 October 2011, 12:31:11.023 am
UUID: 899b135e-f4e5-4b9c-b920-34d40dbb8817
Ancestors: Network-tonyg.119

added convenience methods for printing the address of a socket

=============== Diff against Network-tonyg.119 ===============

Item was added:
+ ----- Method: Socket>>localAddressPortString (in category 'accessing') -----
+ localAddressPortString
+ 	^ self localAddressString, ':', self localPort printString!

Item was added:
+ ----- Method: Socket>>localAddressString (in category 'accessing') -----
+ localAddressString
+ 	^ NetNameResolver stringFromAddress: self localAddress!

Item was added:
+ ----- Method: Socket>>remoteAddressPortString (in category 'accessing') -----
+ remoteAddressPortString
+ 	^ self remoteAddressString, ':', self remotePort printString!

Item was added:
+ ----- Method: Socket>>remoteAddressString (in category 'accessing') -----
+ remoteAddressString
+ 	^ NetNameResolver stringFromAddress: self remoteAddress!




More information about the Squeak-dev mailing list