Also, I think the client side thread should call nx_packet_release(packet_ptr) independently of the nx_tcp_socket_send(&socket_echo, packet_ptr, NX_WAIT_FOREVER) result, otherwise it is allocating more and more packets from the pool without freeing them.
↧