IPv6SocketAddress.st
changeset 1366 e01d0f6c102a
parent 1281 6df4f8f211e3
child 1559 609a0707ab22
equal deleted inserted replaced
1365:90cf91c91e4e 1366:e01d0f6c102a
    66 
    66 
    67 anyAddress
    67 anyAddress
    68     "return the anonymous addresses bytes"
    68     "return the anonymous addresses bytes"
    69 
    69 
    70     ^ #[0 0 0 0  0 0 0 0  0 0 0 0  0 0 0 0]
    70     ^ #[0 0 0 0  0 0 0 0  0 0 0 0  0 0 0 0]
       
    71 !
       
    72 
       
    73 local
       
    74     "return the addresses bytes addressing the local host"
       
    75 
       
    76     ^ #[0 0 0 0  0 0 0 0  0 0 0 0  0 0 0 1]
    71 ! !
    77 ! !
    72 
    78 
    73 !IPv6SocketAddress class methodsFor:'queries'!
    79 !IPv6SocketAddress class methodsFor:'queries'!
    74 
    80 
    75 domainSymbol
    81 domainSymbol
   106 
   112 
   107 numAdrBytes
   113 numAdrBytes
   108     ^ 16
   114     ^ 16
   109 ! !
   115 ! !
   110 
   116 
       
   117 !IPv6SocketAddress methodsFor:'testing'!
       
   118 
       
   119 isLocal
       
   120     "answer true, if this address adresses a peer on the same host"
       
   121 
       
   122     ^ self hostAddress = self class local
       
   123 ! !
       
   124 
   111 !IPv6SocketAddress class methodsFor:'documentation'!
   125 !IPv6SocketAddress class methodsFor:'documentation'!
   112 
   126 
   113 version
   127 version
   114     ^ '$Header: /cvs/stx/stx/libbasic2/IPv6SocketAddress.st,v 1.11 2003-07-16 16:44:37 cg Exp $'
   128     ^ '$Header: /cvs/stx/stx/libbasic2/IPv6SocketAddress.st,v 1.12 2003-11-28 11:17:38 stefan Exp $'
   115 ! !
   129 ! !