Communication device (D1-D5), called first device, comprising: - a peer-to-peer communication application (APP(P2P)); and - a detection module (DET) configured to detect at least one communication device comprising said peer-to-peer communication application, this detection module being able to set up a connection with said detected communication device; said device being characterized in that it comprises: - an interlinking module (SERV), accessible in server mode on at least one predetermined port listened to via at least one particular protocol, this interlinking module being configured to, in response to a request to set up a peer-to-peer communication addressed to the first device, on a port (P) out of said at least one predetermined port and via a protocol (PROT) out of said at least one particular protocol for listening to this port (P), by a second device detected by the detection module, exchange with said second device information required to set up a peer-to-peer communication with said second device and set up said peer-to-peer communication; wherein said peer-to-peer communication application is also able to send, over a port out of said at least one predetermined port, and according to a protocol out of said at least one particular protocol for this port, a request to set up a peer-to-peer communication to a third communication device detected by the detection module. - a peer-to-peer communication application (APP(P2P)); and - a detection module (DET) configured to detect at least one communication device comprising said peer-to-peer communication application, this detection module being able to set up a connection with said detected communication device; said device being characterized in that it comprises: - an interlinking module (SERV), accessible in server mode on at least one predetermined port listened to via at least one particular protocol, this interlinking module being configured to, in response to a request to set up a peer-to-peer communication addressed to the first device, on a port (P) out of said at least one predetermined port and via a protocol (PROT) out of said at least one particular protocol for listening to this port (P), by a second device detected by the detection module, exchange with said second device information required to set up a peer-to-peer communication with said second device and set up said peer-to-peer communication; wherein said peer-to-peer communication application is also able to send, over a port out of said at least one predetermined port, and according to a protocol out of said at least one particular protocol for this port, a request to set up a peer-to-peer communication to a third communication device detected by the detection module. - an interlinking module (SERV), accessible in server mode on at least one predetermined port listened to via at least one particular protocol, this interlinking module being configured to, in response to a request to set up a peer-to-peer communication addressed to the first device, on a port (P) out of said at least one predetermined port and via a protocol (PROT) out of said at least one particular protocol for listening to this port (P), by a second device detected by the detection module, exchange with said second device information required to set up a peer-to-peer communication with said second device and set up said peer-to-peer communication; <EOS>