Hi karol,
"NX_TCP_SOCKET" was a typo here.But it is proper in my code.
IP fragmentation is enabled while creating the socket.
nx_tcp_create_scoket(&ip_0,&my_socket,(CHAR *)"PubClient",NX_IP_NORMAL,NX_FRAGMENT_OKAY,NX_IP_TIME_TO_LIVE,512,NX_NULL,dis);
nx_packet_allocate is not failing initially. It will be fine upto some packets being sent and receive. After some time it is returning NX_NO_PACKET.
I tried with increasing the pool packet area, it looks like few more packets it will allow but again it ends up giving the same error.
I am not sure, but it looks like some kind of memory leak in the pool side.
Please help me with this!
Regards,