proc StopAllProtocols {} { puts"StopAllProtocols ..." catch {ixNet exec stopAllProtocols} errMsg if {$errMsg != "::ixNet::OK"} { puts "StopAllProtocols failed: $errMsg\n" return 1 } ixNet commit Sleep 10000 return 0 }