I have this code:
Quote
WinTCPClient * tcpConn_p = WinTCPClient::CreateClient();
if ( !tcpConn_p )
{
printf(" Problems with WinTCPClient... closing\n");
return 0;
}
WinTCPClient & tcpConn = *tcpConn_p;
if ( !tcpConn.OpenConnection(serverAddr,serverPort) )
{
printf(" Problems connecting to TRACC Unit... closing\n");
delete tcpConn_p;
return 0;
}
if ( !tcpConn_p )
{
printf(" Problems with WinTCPClient... closing\n");
return 0;
}
WinTCPClient & tcpConn = *tcpConn_p;
if ( !tcpConn.OpenConnection(serverAddr,serverPort) )
{
printf(" Problems connecting to TRACC Unit... closing\n");
delete tcpConn_p;
return 0;
}
Can someone help me do it please?


Sign In
Create Account


Back to top









