Please review carefully since I'm not too familiar with the TCP code.