I use visual studio and standard C for programming. The program I am writing uses winsock, too. I used to open file with fopen "w", but the program encounters exception if I open file and use fprintf or fclose after the long time waiting for socket. This exception doesn't happen if I open file and immidiately write and close (fopen,fprintf,fclose sequentially).
Why?
Thanks!



LinkBack URL
About LinkBacks



