Socket.st
changeset 4288 00e575acf898
parent 4261 11462c8c561e
child 4293 82b9928ddcae
child 4309 637a89222029
--- a/Socket.st	Mon Jan 30 15:06:48 2017 +0100
+++ b/Socket.st	Mon Jan 30 15:07:15 2017 +0100
@@ -3565,13 +3565,13 @@
 !
 
 socketAddressClass
-    "get the matchon SocketAddress class for this socket"
+    "get the matching SocketAddress class for this socket"
 
     |domainClass|
 
     domainClass := self class socketAddressClassForDomain:domain.
     domainClass isNil ifTrue:[
-	^ self error:'invalid (unsupported) domain'.
+        ^ self error:'invalid (unsupported) domain'.
     ].
     ^ domainClass.
 !
@@ -3759,6 +3759,7 @@
     "
 ! !
 
+
 !Socket methodsFor:'specials'!
 
 linger:anIntegerOrNil
@@ -4034,14 +4035,6 @@
     ^ self setSocketOption:#'TCP_NODELAY' argument:aBoolean argument:nil.
 ! !
 
-!Socket methodsFor:'testing'!
-
-isSocket
-    "return true, if the receiver is some kind of socket;
-     false returned here - the method is only redefined in Socket."
-
-    ^ true
-! !
 
 !Socket methodsFor:'waiting'!