aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/udp.client4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/udp.client b/examples/udp.client
index 165050a..9e9ac14 100644
--- a/examples/udp.client
+++ b/examples/udp.client
@@ -15,11 +15,11 @@ $s close
# Now sending via a connected udp socket
set s [socket dgram 127.0.0.1:20000]
-$s buffering line
+$s buffering none
foreach i [range 5 10] {
# Socket is connected, so can just use puts here
- # But remember to flush to ensure that each message is separate
+ # No need to flush because we set 'buffering none' above.
$s puts -nonewline "$i * $i"
#$s flush