#DOCUMENTATION by cg
class: IPSocketAddress
comment/format in:
#allForHostName:serviceName:type:
#printAddressOn:
--- a/IPSocketAddress.st Sat Oct 01 20:40:41 2016 +0200
+++ b/IPSocketAddress.st Wed Oct 05 19:21:11 2016 +0200
@@ -112,7 +112,10 @@
IPSocketAddress allForHostName:nil serviceName:10 type:#stream
SocketAddress allForHostName:'localhost' serviceName:10 type:#stream
IPSocketAddress allForHostName:'localhost' serviceName:'echo' type:#datagram
- IPSocketAddress allForHostName:'www.google.com' serviceName:80 type:nil
+ IPSocketAddress allForHostName:'www.google.com' serviceName:80 type:nil
+
+ IPSocketAddress allForHostName:'localhost' serviceName:'echo' type:#datagram
+ IPv6SocketAddress allForHostName:'localhost' serviceName:'echo' type:#datagram
"
"Modified: / 17-06-2009 / 15:21:00 / sr"
@@ -430,6 +433,13 @@
].
(self at:i) printOn:aStream
].
+
+ "
+ String streamContents:[:s | (IPSocketAddress hostName:'localhost') printAddressOn:s]
+ (IPSocketAddress hostName:'localhost') printString
+ (IPSocketAddress hostName:'exeptn') printString
+ (IPSocketAddress hostName:'exeptn') printString
+ "
! !
!IPSocketAddress methodsFor:'private'!