This is usually the result of something like:
const char* ack = "ACK";
err = write( sockfd, ack, strlen( ack ));
char buf[SOME_SIZE]
readb = read( sockfd, buf, SOME_SIZE );
printf( "%s", buf );
, (3) . . , / . printf , .
Edit:
, , , send(2) TCP- recv(2) ( , , " " ). TCP. , , . - . , ( select(2) - ).
:
endianess - , .