func (l *TCPListener) startListener() error {
	listener, err := net.Listen("tcp", fmt.Sprintf(":%d", l.source.Config.Port))
	if err != nil {
		return err
	}
	l.listener = listener
	return nil
}
// startListener starts a new listener, returns an error if it failed.
startListener starts a new listener, returns an error if it failed.
// startListener starts a new listener returns an error if it failed .
func (l *TCPListener) startListener() error {
	listener, err := net.Listen("tcp", fmt.Sprintf(":%d", l.source.Config.Port))
	if err != nil {
		return err
	}
	l.listener = listener
	return nil
}
func ( l * TCPListener ) startListener ( ) error { listener , err := net . Listen ( " " , fmt . Sprintf ( " " , l . source . Config . Port ) ) if err != nil { return err } l . listener = listener return nil }
startListener starts a new listener, returns an error if it failed.
startListener starts a new listener returns an error if it failed .