Hi karol,
Yes, I am releasing the received packets using nx_packet_release after retrieving the data to another buffer.
This is how my code looks like.
nx_packet_allocate(&pool_0, &rcv_packet_ptr, NX_TCP_PACKET, 600);
nx_tcp_socket_receive(&my_socket, &rcv_packet_ptr,500);
nx_packet_data_retrieve(rcv_packet_ptr,buffer,&bytes);
nx_packet_release(rcv_packet_ptr);
Regards,