#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Wed, 08 May 2019 14:41:45 +0200
changeset 4942 9f424bed67c4
parent 4941 148b29bdda05
child 4943 e8327124ac63
#DOCUMENTATION by cg class: Socket comment/format in: #bindAnonymously #bindTo:reuseAddress:
Socket.st
--- a/Socket.st	Mon May 06 18:51:41 2019 +0200
+++ b/Socket.st	Wed May 08 14:41:45 2019 +0200
@@ -1765,7 +1765,7 @@
 
 bindAnonymously
     "bind to any address. A free port will be allocated.
-     Our own socket address will be determined after conection set up.
+     Our own socket address will be determined after connection set up.
      This is the default after the socket has been created"
 
     ^ self bindTo:nil reuseAddress:false
@@ -1774,6 +1774,8 @@
       self newTCP bindAnonymously; listenFor:1; yourself
       self newTCP bindAnonymously; port
     "
+
+    "Modified (comment): / 08-05-2019 / 14:40:11 / Claus Gittinger"
 !
 
 bindAnonymouslyToAddress:aSocketAddress
@@ -1885,7 +1887,7 @@
     ].
     socketAddress := aSocketAddress.
     socketAddress isNil ifTrue:[
-        "ok, get a all zero socket address, so it is for anyHost
+        "ok, get an all zero socket address, so it is for anyHost
          and the port will be assigned"
         socketAddress := self socketAddressClass new.
     ].
@@ -2025,6 +2027,7 @@
     "
 
     "Modified: / 19-01-2018 / 13:37:21 / stefan"
+    "Modified (format): / 08-05-2019 / 14:41:18 / Claus Gittinger"
 !
 
 listenFor:aNumber