class: Socket
authorClaus Gittinger <cg@exept.de>
Wed, 31 Dec 2014 10:11:03 +0100
changeset 3462 cfdc47761d0f
parent 3461 f4ff6526ac02
child 3463 9be5b04cd3bc
class: Socket comment/format in: #getHostname
Socket.st
--- a/Socket.st	Tue Dec 30 13:35:25 2014 +0100
+++ b/Socket.st	Wed Dec 31 10:11:03 2014 +0100
@@ -11,6 +11,8 @@
 "
 "{ Package: 'stx:libbasic2' }"
 
+"{ NameSpace: Smalltalk }"
+
 NonPositionableExternalStream subclass:#Socket
 	instanceVariableNames:'domain socketType protocol port serviceName peer peerName
 		listening'
@@ -1026,7 +1028,7 @@
 !
 
 getHostname
-    "return the computers hostname string"
+    "return the computer's hostname string"
 
     ^ OperatingSystem getHostName
 
@@ -3723,7 +3725,6 @@
     "
 ! !
 
-
 !Socket methodsFor:'specials'!
 
 linger:anIntegerOrNil 
@@ -3999,7 +4000,6 @@
     ^ self setSocketOption:#'TCP_NODELAY' argument:aBoolean argument:nil.
 ! !
 
-
 !Socket methodsFor:'waiting'!
 
 waitForNewConnectionOrDataOnAny:otherConnections timeout:timeoutSeconds
@@ -4076,10 +4076,10 @@
 !Socket class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.305 2014-05-16 06:58:32 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.306 2014-12-31 09:11:03 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.305 2014-05-16 06:58:32 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.306 2014-12-31 09:11:03 cg Exp $'
 ! !