# Example of sending via a ssl encrypted, connected tcp socket load_ssl_certs /etc/ssl/certs set s [[socket stream 127.0.0.1:20000] ssl] try { $s verify } on error msg { stderr puts $msg } foreach i [range 1 20] { $s puts "1 << $i" puts [$s gets] }