In this paper, a nonlinear control scheme is proposed to identify the topology of a weighted general complex network model with non-delayed and time-varying delayed coupling. Specially, synchronization between two complex networks can also be achieved by the nonlinear feedback control. Based on LaSalle's invariance principle, sufficient conditions for topological identification are obtained. Finally, one numerical simulation example is provided to verify the correctness and effectiveness of the proposed scheme.