#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Tue, 22 Aug 2017 20:35:21 +0200
changeset 4506 9ea05177d1f7
parent 4505 c1ade3c06219
child 4507 e85ee316a1b2
#BUGFIX by cg class: Socket added: #isSocket ouch - isSocket lost
Socket.st
--- a/Socket.st	Fri Aug 11 11:24:22 2017 +0200
+++ b/Socket.st	Tue Aug 22 20:35:21 2017 +0200
@@ -3763,7 +3763,6 @@
     "
 ! !
 
-
 !Socket methodsFor:'specials'!
 
 linger:anIntegerOrNil
@@ -4039,6 +4038,14 @@
     ^ 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'!