The authors propose a window-based congestion control algorithm to achieve max-min fair sharing of the available bandwidth in ECN capable heterogeneous TCP networks. The proposed algorithm extracts the network status from successive binary congestion information provided by ECN. From the extracted network information, the authors estimate a fair window size proportional to the propagation delay. Through simulations, the effect on TCP fairness of the proposed algorithm is shown for the heterogeneous network.