The current congestion control mechanism for TCP with EGN suffers from the oscillation of the window size and the unfair sharing of network resources. These problems are caused by the insufficient information about the congestion level of a network and the different round trip time (RTT) among the connections respectively. In this paper, we propose a new window control algorithm for TCP with ECN to avoid the oscillation of the window size and to achieve the fairness among the connections.