We investigate the tracking control of nonlinear networked control systems (NCS) affected by disturbances. We consider a general scenario in which the network is used to ensure the communication between the controller, the plant and the reference system generating the desired trajectory to be tracked. The communication constraints induce non-vanishing errors (in general) on the feedforward term and the output of the reference system, which affect the convergence of the tracking error. As a consequence, available results on the stabilization of equilibrium points for NCS are not applicable. Therefore, we develop an appropriate hybrid model and we give sufficient conditions on the closed-loop system, the communication protocol and an explicit...