Data transmission apparatus and method for the efficient use of transmission media