UDSocketAddress.st
changeset 3463 9be5b04cd3bc
parent 3054 6a30dfee6c5b
child 3516 be635bb4c2cb
equal deleted inserted replaced
3462:cfdc47761d0f 3463:9be5b04cd3bc
     8  be provided or otherwise made available to, or used by, any
     8  be provided or otherwise made available to, or used by, any
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 "{ Package: 'stx:libbasic2' }"
    12 "{ Package: 'stx:libbasic2' }"
       
    13 
       
    14 "{ NameSpace: Smalltalk }"
    13 
    15 
    14 SocketAddress variableByteSubclass:#UDSocketAddress
    16 SocketAddress variableByteSubclass:#UDSocketAddress
    15 	instanceVariableNames:''
    17 	instanceVariableNames:''
    16 	classVariableNames:''
    18 	classVariableNames:''
    17 	poolDictionaries:''
    19 	poolDictionaries:''
   124 name
   126 name
   125     ^ self stringAt:3
   127     ^ self stringAt:3
   126 !
   128 !
   127 
   129 
   128 name:pathName
   130 name:pathName
   129     pathName isString ifFalse:[
   131     self stringAt:3 put:pathName asFilename osNameForFile.
   130         self error:'Unix domain sockets require a path argument'.
       
   131     ].
       
   132     self stringAt:3 put:pathName
       
   133 !
   132 !
   134 
   133 
   135 port
   134 port
   136     "compatibility with inet sockets"
   135     "compatibility with inet sockets"
   137 
   136 
   185 ! !
   184 ! !
   186 
   185 
   187 !UDSocketAddress class methodsFor:'documentation'!
   186 !UDSocketAddress class methodsFor:'documentation'!
   188 
   187 
   189 version
   188 version
   190     ^ '$Header: /cvs/stx/stx/libbasic2/UDSocketAddress.st,v 1.19 2013-07-11 15:02:13 stefan Exp $'
   189     ^ '$Header: /cvs/stx/stx/libbasic2/UDSocketAddress.st,v 1.20 2015-01-07 09:20:44 stefan Exp $'
   191 !
   190 !
   192 
   191 
   193 version_CVS
   192 version_CVS
   194     ^ '$Header: /cvs/stx/stx/libbasic2/UDSocketAddress.st,v 1.19 2013-07-11 15:02:13 stefan Exp $'
   193     ^ '$Header: /cvs/stx/stx/libbasic2/UDSocketAddress.st,v 1.20 2015-01-07 09:20:44 stefan Exp $'
   195 ! !
   194 ! !
   196 
   195