Other Parts Discussed in Thread: AM3359
Tool/software: TI-RTOS
Hello,
I was wondering if there's any chance that I could monitor the usage of the TCP buffer with CCS.
I'm currently developing a TCP server and having some trouble...
TCP server is running on AM3359 custom board with the latest pdk(pdk_am335x_1_0_12) and ndk(ndk_3_40_01_01).
I need this server to run as fast as it can so that it can handle the packets coming from the client as fast as 1ms.
It seems that the server dies(or freeze?) after two minutes or so...
So when I capture the ethernet packets with Wireshark, when the server die, the client(Windows PC) tries four times to re transmit the packet.
And after awhile, the server gives error code 60 which is defined as NDK_ETIMEDOUT.
I have changed tcp receive buffer size to 65536 and it seems that the server takes longer to die.(Tcp.receiveBufSize = 65536;)
I'm thinking that it might be the receive buffer or send buffer that is not properly handled(freed?) so that the server is freezing.
Thank you!




