exit command added
This commit is contained in:
@ -74,6 +74,9 @@ proc receiveHandler {sock} {
|
|||||||
set l [split $a]
|
set l [split $a]
|
||||||
if [catch {
|
if [catch {
|
||||||
switch -- [lindex $l 0] {
|
switch -- [lindex $l 0] {
|
||||||
|
"exit" {
|
||||||
|
exit
|
||||||
|
}
|
||||||
"disconnect" {
|
"disconnect" {
|
||||||
sendReply $sock [string range $a 11 end]
|
sendReply $sock [string range $a 11 end]
|
||||||
destroy .$sock
|
destroy .$sock
|
||||||
|
Reference in New Issue
Block a user