aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.tcl
blob: 7553aca2d24848e722bb3e66e1a88899963b0dee (plain)
1
2
3
4
5
6
7
8
# tcl tests

#simple example

proc Echo_Server {port} {
    set s [socket -server EchoAccept $port]
    vwait forever
}