File: unix.client

package info (click to toggle)
openocd 0.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 39,864 kB
  • sloc: ansic: 425,554; sh: 10,320; tcl: 9,539; asm: 3,895; makefile: 2,023; cpp: 1,671; perl: 1,197; python: 1,078; xml: 77; haskell: 32
file content (9 lines) | stat: -rw-r--r-- 149 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
# Example of sending via a connected tcp socket

set s [socket unix unix.tmp]

foreach i [range 1 20] {
	$s puts "expr {1 << $i}"

	puts [$s gets]
}