A method implemented by computer means of a communicating entity in a packet-switched network, said communicating entity comprising at least one port for transmitting communication signal frames, said frames comprising: - a first type of frames, intended to be transmitted in a plurality of streams for which a traffic shaping is defined, and - a second type of frames, for which no traffic shaping is defined, each second type frame being able to be fragmented so as to transmit a fragment only of a frame of said second type, Wherein the communicating entity: - stores: - a plurality of first queues of frames of the first type, said first queues ( Q i) being associated respectively to said plurality of streams, and - at least one second queue ( Q u) for frames of the second type, - and schedules transmissions of first type frames and decides whether to transmit at least a fragment of at least one second type frame between at least two first type frames, wherein the deciding comprises: when it is determined that the size of the at least one fragment of the at least one second type frame to be transmitted is greater than a threshold (MinFragSize) and the size of a remaining fragment of said at least one second type frame is greater than said threshold, transmits the at least one fragment of said at least one second type frame between at least two first type frames, otherwise prevents transmission of the at least one fragment of said second type frame; wherein each of said first and second queues is stored in a first-in-first-out type buffer (BUFF), and a queue of the plurality of first queues to which a first type frame is assigned is determined according to the stream to which said first type frame belongs and on features of said first type frame, wherein said features of said first type frame include a frame length and a current rate of the stream to which said first type frame belongs, and wherein a scheduled transmission time of each first type frame in its respective queue is calculated and respective transmission times are scheduled for said first type frames according to said respective frame length of the first type frames and rate of the stream to which said first type frame belongs. - a first type of frames, intended to be transmitted in a plurality of streams for which a traffic shaping is defined, and - a second type of frames, for which no traffic shaping is defined, each second type frame being able to be fragmented so as to transmit a fragment only of a frame of said second type, Wherein the communicating entity: - stores: - a plurality of first queues of frames of the first type, said first queues ( Q i) being associated respectively to said plurality of streams, and - at least one second queue ( Q u) for frames of the second type, - a plurality of first queues of frames of the first type, said first queues ( Q i) being associated respectively to said plurality of streams, and - at least one second queue ( Q u) for frames of the second type, - and schedules transmissions of first type frames and decides whether to transmit at least a fragment of at least one second type frame between at least two first type frames, wherein the deciding comprises: when it is determined that the size of the at least one fragment of the at least one second type frame to be transmitted is greater than a threshold (MinFragSize) and the size of a remaining fragment of said at least one second type frame is greater than said threshold, transmits the at least one fragment of said at least one second type frame between at least two first type frames, otherwise prevents transmission of the at least one fragment of said second type frame; wherein each of said first and second queues is stored in a first-in-first-out type buffer (BUFF), and a queue of the plurality of first queues to which a first type frame is assigned is determined according to the stream to which said first type frame belongs and on features of said first type frame, wherein said features of said first type frame include a frame length and a current rate of the stream to which said first type frame belongs, and wherein a scheduled transmission time of each first type frame in its respective queue is calculated and respective transmission times are scheduled for said first type frames according to said respective frame length of the first type frames and rate of the stream to which said first type frame belongs. when it is determined that the size of the at least one fragment of the at least one second type frame to be transmitted is greater than a threshold (MinFragSize) and the size of a remaining fragment of said at least one second type frame is greater than said threshold, transmits the at least one fragment of said at least one second type frame between at least two first type frames, otherwise prevents transmission of the at least one fragment of said second type frame; wherein each of said first and second queues is stored in a first-in-first-out type buffer (BUFF), and a queue of the plurality of first queues to which a first type frame is assigned is determined according to the stream to which said first type frame belongs and on features of said first type frame, wherein said features of said first type frame include a frame length and a current rate of the stream to which said first type frame belongs, and wherein a scheduled transmission time of each first type frame in its respective queue is calculated and respective transmission times are scheduled for said first type frames according to said respective frame length of the first type frames and rate of the stream to which said first type frame belongs.