Code: if ( ( sock = socket( PF_INET, SOCK_STREAM, IPPROTO_TCP ) ) != -1 ) { if ( connect( sock, ( struct sockaddr * )&srvAddr, sizeof( srvAddr ) ) == 0 ) { while ( 1 ) { //... if ( send( sock, sendBuf, MSG_SIZE, 0 ) != MSG_SIZE ) { printf( "RX ERR!\...