My own address checking
authorStefan Vogel <sv@exept.de>
Wed, 10 Jul 2013 10:22:48 +0200
changeset 3046 0b247fe7259d
parent 3045 7663a852fa0b
child 3047 e9d08555cb5b
My own address checking
UDSocketAddress.st
--- a/UDSocketAddress.st	Wed Jul 10 10:22:46 2013 +0200
+++ b/UDSocketAddress.st	Wed Jul 10 10:22:48 2013 +0200
@@ -116,6 +116,12 @@
 
 !UDSocketAddress methodsFor:'accessing'!
 
+hostAddress
+    "unix domain sockets are local and do not have a host address"
+
+    ^ nil
+!
+
 name
     ^ self stringAt:3
 !
@@ -146,14 +152,17 @@
 !UDSocketAddress methodsFor:'obsolete'!
 
 address
+    <resource: #obsolete>
     ^ nil
 !
 
 hostName
+    <resource: #obsolete>
     ^ 'local'
 !
 
 hostName:hostOrPathName port:portNrOrName
+    <resource: #obsolete>
     self name:hostOrPathName
 ! !
 
@@ -179,5 +188,6 @@
 !UDSocketAddress class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/UDSocketAddress.st,v 1.17 2009-06-12 12:12:58 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/UDSocketAddress.st,v 1.18 2013-07-10 08:22:48 stefan Exp $'
 ! !
+