Modified protocol according to discovery function. No need to give remote IP as parameter for the initialization of the communication