Click to See Complete Forum and Search --> : Program crash when i call recv() function in release mode not in debug.


hos
March 30th, 1999, 01:27 AM
My program crashed when i call recv() in release mode , but i work fine in debug mode.When it crash,system report "access violate".

What can cause it?

If the socket function confict with MFC?

Help please!


regards


hos

vijay_khot
December 21st, 2000, 10:07 PM
My guess is Buffer for the incoming data is not
properly allocated and you are trying to access
memory which is invalid. So please check for 2nd argument in recv...
If this doesn't solve problem use NuMega's BoundsChecker



Vijay Khot
Software Consultant,
ICEM Technologies, Arden Hills,
MN 55112 USA