// NewStopListener creates a new, stoppable TCP server connection.
// Address needs to be cmpliant to net.Listen.
NewStopListener creates a new, stoppable TCP server connection.
Address needs to be cmpliant to net.Listen.
// NewStopListener creates a new stoppable TCP server connection . // Address needs to be cmpliant to net . Listen .
func NewStopListener(address string) (*StopListener, error) {
	listen, err := net.Listen("tcp", address)
	if err != nil {
		return nil, err 
	}
	return &StopListener{
		TCPListener: listen.(*net.TCPListener),
		active:      true,
	}, nil
}
func NewStopListener ( address string ) ( * StopListener , error ) { listen , err := net . Listen ( " " , address ) if err != nil { return nil , err } return & StopListener { TCPListener : listen . ( * net . TCPListener ) , active : true , } , nil }
NewStopListener creates a new, stoppable TCP server connection.
NewStopListener creates a new stoppable TCP server connection .
// ### return, could not connect ###