Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

RE: nx_packet_release returns 0x7 (NX_PTR_ERROR)

$
0
0

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,


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>