Answer the question
In order to leave comments, you need to log in
Go how to terminate the program?
Question: how to exit a Go program by analogy with Python's sys.exit()? Or just how to stop listening to net.Listener so that the program closes itself? The flags on the while loop did not help because the goroutine runs slower than a new round of wiretapping begins.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question