A method and device are provided for transmitting a digital signal intended for a network having at least four nodes including two transmitters, a relay and a receiver separated from one another by non-orthogonal links, except between the relay and the destination, between which the link is orthogonal, implementing a spatially distributed network code. The method includes: encoding, in each transmitter, supplying a code word for every block of K bits of information; transmitting, in the transmitters, the code word during αN transmission intervals, αε[0,1]; jointly, iteratively detecting / decoding, in the relay, in order to separate interfering streams from the transmitters and to determine, for each stream, a vector representing the K bits of information associated with the code word; jointly encoding, in the relay, the two vectors in order to determine redundancy information, and scheduling the relays to transmit the redundancy information during the (1−α)N following transmission intervals.