Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMemory leaks Pin
Rickard Andersson2018-Nov-02 20:28
Rickard Andersson2018-Nov-02 20:28 
GeneralRe: Memory leaks Pin
jhwurmbach18-Nov-02 20:49
jhwurmbach18-Nov-02 20:49 
GeneralRe: Memory leaks Pin
ihaml18-Nov-02 21:10
ihaml18-Nov-02 21:10 
GeneralRe: Memory leaks Pin
jhwurmbach18-Nov-02 21:39
jhwurmbach18-Nov-02 21:39 
GeneralRe: Memory leaks Pin
Rickard Andersson2019-Nov-02 0:43
Rickard Andersson2019-Nov-02 0:43 
GeneralRe: Memory leaks Pin
Anonymous18-Nov-02 21:15
Anonymous18-Nov-02 21:15 
GeneralRe: Memory leaks Pin
Michael P Butler18-Nov-02 22:25
Michael P Butler18-Nov-02 22:25 
GeneralRe: Memory leaks Pin
Rickard Andersson2019-Nov-02 0:48
Rickard Andersson2019-Nov-02 0:48 
GeneralCSliderCtrl.... Pin
Neha18-Nov-02 19:54
Neha18-Nov-02 19:54 
GeneralStealth in VC++ Pin
SatyaKiran18-Nov-02 19:26
SatyaKiran18-Nov-02 19:26 
GeneralRe: Stealth in VC++ Pin
Christian Graus18-Nov-02 19:47
protectorChristian Graus18-Nov-02 19:47 
GeneralRe: Stealth in VC++ Pin
Swinefeaster18-Nov-02 20:20
Swinefeaster18-Nov-02 20:20 
GeneralRe: Stealth in VC++ Pin
Anonymous18-Nov-02 21:12
Anonymous18-Nov-02 21:12 
GeneralRe: Stealth in VC++ Pin
Michael P Butler18-Nov-02 22:22
Michael P Butler18-Nov-02 22:22 
General.NET Training School in Bay area Pin
ReachAnshul18-Nov-02 17:55
ReachAnshul18-Nov-02 17:55 
GeneralJava in comparison to C++ Question Pin
Swinefeaster18-Nov-02 17:51
Swinefeaster18-Nov-02 17:51 
GeneralRe: Java in comparison to C++ Question Pin
Christian Graus18-Nov-02 17:58
protectorChristian Graus18-Nov-02 17:58 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 18:00
Swinefeaster18-Nov-02 18:00 
GeneralRe: Java in comparison to C++ Question Pin
Christian Graus18-Nov-02 18:12
protectorChristian Graus18-Nov-02 18:12 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 18:16
Swinefeaster18-Nov-02 18:16 
GeneralRe: Java in comparison to C++ Question Pin
S van Leent19-Nov-02 7:31
S van Leent19-Nov-02 7:31 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 18:24
Swinefeaster18-Nov-02 18:24 
GeneralRe: Java in comparison to C++ Question Pin
Christian Graus18-Nov-02 18:59
protectorChristian Graus18-Nov-02 18:59 
GeneralRe: Java in comparison to C++ Question Pin
Joaquín M López Muñoz18-Nov-02 19:57
Joaquín M López Muñoz18-Nov-02 19:57 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 20:17
Swinefeaster18-Nov-02 20:17 
Thanks Joaquin. So in the code I posted, when the function returns, the new socket object created by ListenSocket.accept() will be deleted once the TheClientSocket local reference (?) variable goes out of scope, correct?

I guess then the only way to implement this would be to go "return TheClientSocket" instead of the boolean, and pass it back to the caller in that manner?

Thanks,

swine

Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.

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.