title: How to tell whether a tcplistener is closed?
body: <p>In Golang, i can <code>close</code> a <code>TCPListener</code>, however, i can not tell whether a <code>TCPListener</code> is closed or not. This info could be used to do some other logic in program.</p>