diagnotic added to TCP connect
Fix uninitialized warning