/* Initializes the TCP protocol handler, clearing the port and connection state tables. This must be called before TCP packets are processed.  */
void TCP_Init(void)
/* Initializes the TCP protocol handler, clearing the port and connection state tables. This must be called before TCP packets are processed.  */
void TCP_Init(void)
{
	for (uint8_t PTableEntry = 0; PTableEntry < MAX_OPEN_TCP_PORTS; PTableEntry++)
	  PortStateTable[PTableEntry].State = TCP_Port_Closed;
	for (uint8_t CSTableEntry = 0; CSTableEntry < MAX_TCP_CONNECTIONS; CSTableEntry++)
	  ConnectionStateTable[CSTableEntry].State = TCP_Connection_Closed;
}