The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 06-19-2009
ajaysahoo ajaysahoo is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 14
i did the following code change...
memset(recvgen,'\0',NSE_MAX_PACKET_RECV_SIZE);


still same problem,i debug using dbx ...its showing segmentation fault at fwrite.

also sizeof(recvgen) is 4 where i have defined NSE_MAX_PACKET_RECV_SIZE=1050