Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: nx_packet_release returns 0x7 (NX_PTR_ERROR)

$
0
0
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,

Viewing all articles
Browse latest Browse all 59170