An Experimental Study on Congestion Control in Wireless and Wired Networks