[PATCH] Reimplementing TCPConnect and TCPListen test as a test tool in C