L
ligerdave
hi all,
i wonder if anyone can help me with this. im writing a program in C
under linux environment which can be connected to through telnet. in
this program, i have to manage the user information peacefully under
any circumstances. so far, if user enters quit or exit command, the
function will clear up everything nicely. however, i ran into this
crux that what if user terminate the telnet client or let's say in
case the user's computer's power went off.
so my question is very straight forward, how can i deal with cases
like this? please help. thank you all
i wonder if anyone can help me with this. im writing a program in C
under linux environment which can be connected to through telnet. in
this program, i have to manage the user information peacefully under
any circumstances. so far, if user enters quit or exit command, the
function will clear up everything nicely. however, i ran into this
crux that what if user terminate the telnet client or let's say in
case the user's computer's power went off.
so my question is very straight forward, how can i deal with cases
like this? please help. thank you all