TCP demo corrected