|
|
|
|
@ -187,8 +187,8 @@ static void diag_timer_cb(void* arg) {
|
|
|
|
|
|
|
|
|
|
int rcv_buf = 0, snd_buf = 0; |
|
|
|
|
socklen_t optlen = sizeof(int); |
|
|
|
|
getsockopt(tc->sock, SOL_SOCKET, SO_RCVBUF, &rcv_buf, &optlen); |
|
|
|
|
getsockopt(tc->sock, SOL_SOCKET, SO_SNDBUF, &snd_buf, &optlen); |
|
|
|
|
getsockopt(tc->sock, SOL_SOCKET, SO_RCVBUF, (char*)&rcv_buf, &optlen); |
|
|
|
|
getsockopt(tc->sock, SOL_SOCKET, SO_SNDBUF, (char*)&snd_buf, &optlen); |
|
|
|
|
|
|
|
|
|
DEBUG_DEBUG(DEBUG_CATEGORY_SOCKET, |
|
|
|
|
"SOCK:DIAG fd=%d sid=%08x conn=%d fin=%d " |
|
|
|
|
|