use cdpi_appif for TCP stream istead of cdpi_stream