# HG changeset patch # User Claus Gittinger # Date 1458740038 -3600 # Node ID ea7a85e2bb8f48b1c1b6c7b3c1d42cf583562868 # Parent bb14e511c3d1f382c934b8817d76ba5069cbf6d0 #REFACTORING class: IPSocketAddress changed: #port (send #unsignedInt16At:MSB: instead of #unsignedShortAt:bigEndian:) #port: (send #unsignedInt16At:put:MSB: instead of #unsignedShortAt:put:bigEndian:) diff -r bb14e511c3d1 -r ea7a85e2bb8f IPSocketAddress.st --- a/IPSocketAddress.st Wed Mar 23 14:33:08 2016 +0100 +++ b/IPSocketAddress.st Wed Mar 23 14:33:58 2016 +0100 @@ -1,3 +1,5 @@ +"{ Encoding: utf8 }" + " COPYRIGHT (c) 1995 by Claus Gittinger All Rights Reserved @@ -365,11 +367,11 @@ ! port - ^ self unsignedShortAt:3 bigEndian:true + ^ self unsignedInt16At:3 MSB:true ! port:aPortNr - self unsignedShortAt:3 put:aPortNr bigEndian:true + self unsignedInt16At:3 put:aPortNr MSB:true ! ! !IPSocketAddress methodsFor:'comparing'!