Click here to Skip to main content
15,885,537 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questiondestructor not being called (Resolved) Pin
bkelly1326-Jun-14 16:17
bkelly1326-Jun-14 16:17 
AnswerRe: destructor not being called Pin
Orjan Westin26-Jun-14 22:26
professionalOrjan Westin26-Jun-14 22:26 
GeneralRe: destructor not being called Pin
bkelly1327-Jun-14 13:06
bkelly1327-Jun-14 13:06 
Questionarray of static text controls Pin
bkelly1322-Jun-14 9:35
bkelly1322-Jun-14 9:35 
AnswerRe: array of static text controls Pin
Albert Holguin26-Jun-14 10:48
professionalAlbert Holguin26-Jun-14 10:48 
Questionneed help selecting a string type Pin
bkelly1313-Jun-14 4:27
bkelly1313-Jun-14 4:27 
AnswerRe: need help selecting a string type Pin
Richard MacCutchan13-Jun-14 7:13
mveRichard MacCutchan13-Jun-14 7:13 
GeneralRe: need help selecting a string type Pin
bkelly1313-Jun-14 7:39
bkelly1313-Jun-14 7:39 
GeneralRe: need help selecting a string type Pin
Richard MacCutchan13-Jun-14 21:31
mveRichard MacCutchan13-Jun-14 21:31 
GeneralRe: need help selecting a string type Pin
bkelly1314-Jun-14 9:47
bkelly1314-Jun-14 9:47 
GeneralRe: need help selecting a string type Pin
Richard MacCutchan14-Jun-14 10:05
mveRichard MacCutchan14-Jun-14 10:05 
GeneralRe: need help selecting a string type Pin
bkelly1314-Jun-14 15:53
bkelly1314-Jun-14 15:53 
GeneralRe: need help selecting a string type Pin
Richard MacCutchan14-Jun-14 21:08
mveRichard MacCutchan14-Jun-14 21:08 
Generalgoing heavy Pin
bkelly1316-Jun-14 13:49
bkelly1316-Jun-14 13:49 
GeneralRe: going heavy Pin
Richard MacCutchan16-Jun-14 21:24
mveRichard MacCutchan16-Jun-14 21:24 
GeneralRe: need help selecting a string type Pin
Theo Buys6-Aug-15 5:31
Theo Buys6-Aug-15 5:31 
QuestionEnd a socket listen() operation Pin
bkelly133-Jun-14 8:26
bkelly133-Jun-14 8:26 
Widows 7, Visual Studio 2008, C++, socket operations

My app posts a listen using a socket set to non-blocking. The debugger steps over that line, with a noticeable pause, and continues. The netstat command showed that a listen was in progress.

I can think of a few possibilities to end the listen().

1. Client connects
2. Call some method to terminate the listen.
3. Delete the object that initiated the listen

If the client does not connect, how should the app close the listen() operation?
Thank you for your time
If you work with telemetry, please check this bulletin board: www.irigbb.com


AnswerRe: End a socket listen() operation Pin
Albert Holguin5-Jun-14 9:41
professionalAlbert Holguin5-Jun-14 9:41 
GeneralRe: End a socket listen() operation Pin
bkelly1313-Jun-14 4:17
bkelly1313-Jun-14 4:17 
Questiondetect event in MFC dialog Pin
bkelly1331-May-14 11:51
bkelly1331-May-14 11:51 
AnswerRe: detect event in MFC dialog Pin
Richard MacCutchan31-May-14 21:00
mveRichard MacCutchan31-May-14 21:00 
GeneralRe: detect event in MFC dialog Pin
bkelly131-Jun-14 1:06
bkelly131-Jun-14 1:06 
GeneralRe: detect event in MFC dialog Pin
Richard MacCutchan1-Jun-14 1:15
mveRichard MacCutchan1-Jun-14 1:15 
GeneralRe: detect event in MFC dialog Pin
Randor 1-Jun-14 19:08
professional Randor 1-Jun-14 19:08 
GeneralRe: detect event in MFC dialog Pin
monitsystem2-Jun-14 6:44
monitsystem2-Jun-14 6:44 

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.