[Pkg] The Trunk: Network-ul.135.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 15 16:58:06 UTC 2012


Levente Uzonyi uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-ul.135.mcz

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

Name: Network-ul.135
Author: ul
Time: 15 August 2012, 5:29:17.02 pm
UUID: 13fea461-bd99-2b47-8592-8f7a11676f4f
Ancestors: Network-dtl.134

- fix: Socket >> #remoteSocketAddress shouldn't send #asSocketAddress if #useOldNetwork is true

=============== Diff against Network-dtl.134 ===============

Item was changed:
  ----- Method: Socket>>remoteSocketAddress (in category 'ipv6') -----
  remoteSocketAddress
  
  	NetNameResolver useOldNetwork
+ 		ifTrue: [ ^self primSocketRemoteAddress: socketHandle ]
- 		ifTrue: [^(self primSocketRemoteAddress: socketHandle) asSocketAddress]
  		ifFalse: [
  			| size addr |
  			size := self primSocketRemoteAddressSize: socketHandle.
  			addr := SocketAddress new: size.
  			self primSocket: socketHandle remoteAddressResult: addr.
  			^addr]!



More information about the Packages mailing list