tcpTest continued
This commit is contained in:
parent
251cf71647
commit
a0b0915629
@ -87,7 +87,7 @@ void tcpTestHandler(void *handle) {
|
|||||||
res32 = recv(TCPTEST_SOCK, buf, res16);
|
res32 = recv(TCPTEST_SOCK, buf, res16);
|
||||||
coloredMsg(LOG_YELLOW, "tth, recv returns 0x%02x", res32);
|
coloredMsg(LOG_YELLOW, "tth, recv returns 0x%02x", res32);
|
||||||
if (res32 > 0) {
|
if (res32 > 0) {
|
||||||
coloredMsg(LOG_YELLOW, "tth, received: %s", buf);
|
coloredMsg(LOG_YELLOW, "tth, received: %d, %s", res32, buf);
|
||||||
}
|
}
|
||||||
free(buf);
|
free(buf);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user