Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Databases and C++ Pin
forjer13-Jan-04 6:42
forjer13-Jan-04 6:42 
GeneralDisable ASSERT in Debug mode Pin
misha_grewal13-Jan-04 3:21
misha_grewal13-Jan-04 3:21 
GeneralRe: Disable ASSERT in Debug mode Pin
Prakash Nadar13-Jan-04 3:31
Prakash Nadar13-Jan-04 3:31 
GeneralRe: Disable ASSERT in Debug mode Pin
misha_grewal13-Jan-04 17:02
misha_grewal13-Jan-04 17:02 
GeneralRe: Disable ASSERT in Debug mode Pin
kasparov_8515-Jan-13 21:52
kasparov_8515-Jan-13 21:52 
GeneralODBC - dbf files - strange error msg Pin
Qadddd13-Jan-04 2:07
Qadddd13-Jan-04 2:07 
GeneralSockets and Memory leak Pin
Member 81460313-Jan-04 2:03
Member 81460313-Jan-04 2:03 
GeneralRe: Sockets and Memory leak Pin
Antti Keskinen13-Jan-04 3:07
Antti Keskinen13-Jan-04 3:07 
You did correct in initializing the socket routines, so there's nothing initially wrong with adding socket support.

Could the error lie in the way you use the sockets ? Naturally, you could post a bit more information of the way you use them. I haven't noticed any memory leaks in the communications applications I have used, but I also generally just send and receive raw data. Remember that if you send a CDocument-derived object, the receiving end must also be aware of the new object's size. So send the size first, reserve memory for the object, then fill the designated memory area with the data.

Post more details, such as a piece of code from your communication routines, and perhaps we can help you more.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Sockets and Memory leak Pin
Member 81460313-Jan-04 3:53
Member 81460313-Jan-04 3:53 
GeneralRe: Sockets and Memory leak Pin
Antti Keskinen13-Jan-04 6:35
Antti Keskinen13-Jan-04 6:35 
GeneralSimulating copy to clipboard Pin
Anonymous13-Jan-04 1:03
Anonymous13-Jan-04 1:03 
Questiondeveloping a small scripting langauge in VC++ ?? Pin
cyberiafreak13-Jan-04 0:54
cyberiafreak13-Jan-04 0:54 
AnswerRe: developing a small scripting langauge in VC++ ?? Pin
Antti Keskinen13-Jan-04 7:04
Antti Keskinen13-Jan-04 7:04 
GeneralEMF to SWF Convertor Pin
WzR13-Jan-04 0:53
WzR13-Jan-04 0:53 
GeneralRe: EMF to SWF Convertor Pin
Antti Keskinen13-Jan-04 7:17
Antti Keskinen13-Jan-04 7:17 
GeneralHelp in MDI (reply needed as soon as possible) Please.. Pin
Ruchit Sharma13-Jan-04 0:37
Ruchit Sharma13-Jan-04 0:37 
GeneralRe: Help in MDI (reply needed as soon as possible) Please.. Pin
Roger Allen13-Jan-04 0:54
Roger Allen13-Jan-04 0:54 
GeneralRe: Help in MDI (reply needed as soon as possible) Please.. Pin
Ruchit Sharma13-Jan-04 1:21
Ruchit Sharma13-Jan-04 1:21 
QuestionHow to write ftp server and client for windows in c Pin
shan1213-Jan-04 0:22
shan1213-Jan-04 0:22 
AnswerRe: How to write ftp server and client for windows in c Pin
Selvam R13-Jan-04 1:05
professionalSelvam R13-Jan-04 1:05 
QuestionHow to fix this? Pin
Anthony_Yio13-Jan-04 0:08
Anthony_Yio13-Jan-04 0:08 
AnswerRe: How to fix this? Pin
Prakash Nadar13-Jan-04 0:13
Prakash Nadar13-Jan-04 0:13 
GeneralRe: How to fix this? Pin
Anthony_Yio13-Jan-04 0:24
Anthony_Yio13-Jan-04 0:24 
AnswerRe: How to fix this? Pin
jhwurmbach13-Jan-04 0:23
jhwurmbach13-Jan-04 0:23 
GeneralDifference between nested conditional statements vs non-nested dito Pin
Anonymous12-Jan-04 23:52
Anonymous12-Jan-04 23:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.