--- a/UDSocketAddress.st Wed Sep 17 01:18:58 2003 +0200
+++ b/UDSocketAddress.st Tue Sep 23 14:36:03 2003 +0200
@@ -64,6 +64,13 @@
!UDSocketAddress class methodsFor:'instance creation'!
+anyHost
+ "there is nothing like a 'host' for unix domain sockets.
+ answer an empty address"
+
+ ^ self new
+!
+
hostName:hostName serviceName:portNrOrName type:socketTypeSymbol
(hostName notNil and:[hostName ~= 'localhost']) ifTrue:[
self error:'Only local connections possible with UD sockets'.
@@ -116,6 +123,12 @@
name:pathName
self stringAt:3 put:pathName
+!
+
+port
+ "ccompatibility with inet sockets"
+
+ ^ self name
! !
!UDSocketAddress methodsFor:'obsolete'!
@@ -154,5 +167,5 @@
!UDSocketAddress class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic2/UDSocketAddress.st,v 1.12 2003-07-09 15:31:24 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic2/UDSocketAddress.st,v 1.13 2003-09-23 12:36:03 stefan Exp $'
! !