finish basic tcp