Click here to Skip to main content
14,272,143 members

ATL / WTL / STL

 
GeneralRe: need help selecting a string type Pin
bkelly1314-Jun-14 9:47
memberbkelly1314-Jun-14 9:47 
GeneralRe: need help selecting a string type Pin
Richard MacCutchan14-Jun-14 10:05
protectorRichard MacCutchan14-Jun-14 10:05 
GeneralRe: need help selecting a string type Pin
bkelly1314-Jun-14 15:53
memberbkelly1314-Jun-14 15:53 
GeneralRe: need help selecting a string type Pin
Richard MacCutchan14-Jun-14 21:08
protectorRichard MacCutchan14-Jun-14 21:08 
Generalgoing heavy Pin
bkelly1316-Jun-14 13:49
memberbkelly1316-Jun-14 13:49 
GeneralRe: going heavy Pin
Richard MacCutchan16-Jun-14 21:24
protectorRichard MacCutchan16-Jun-14 21:24 
GeneralRe: need help selecting a string type Pin
Theo Buys6-Aug-15 5:31
memberTheo Buys6-Aug-15 5:31 
QuestionEnd a socket listen() operation Pin
bkelly133-Jun-14 8:26
memberbkelly133-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
memberbkelly1313-Jun-14 4:17 
Questiondetect event in MFC dialog Pin
bkelly1331-May-14 11:51
memberbkelly1331-May-14 11:51 
AnswerRe: detect event in MFC dialog Pin
Richard MacCutchan31-May-14 21:00
protectorRichard MacCutchan31-May-14 21:00 
GeneralRe: detect event in MFC dialog Pin
bkelly131-Jun-14 1:06
memberbkelly131-Jun-14 1:06 
GeneralRe: detect event in MFC dialog Pin
Richard MacCutchan1-Jun-14 1:15
protectorRichard 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
membermonitsystem2-Jun-14 6:44 
GeneralRe: detect event in MFC dialog Pin
bkelly132-Jun-14 9:13
memberbkelly132-Jun-14 9:13 
AnswerRe: detect event in MFC dialog Pin
Albert Holguin5-Jun-14 9:49
professionalAlbert Holguin5-Jun-14 9:49 
GeneralRe: detect event in MFC dialog Pin
bkelly135-Jun-14 14:56
memberbkelly135-Jun-14 14:56 
GeneralRe: detect event in MFC dialog Pin
Albert Holguin6-Jun-14 6:44
professionalAlbert Holguin6-Jun-14 6:44 
Questioncheck if dll is registred as x32 or loaded to Out_of_process Pin
MrKBA25-May-14 12:37
memberMrKBA25-May-14 12:37 
AnswerRe: check if dll is registred as x32 or loaded to Out_of_process Pin
Randor 1-Jun-14 19:01
professional Randor 1-Jun-14 19:01 
Questionassign an event to a socket operation Pin
Member 798013518-May-14 15:57
memberMember 798013518-May-14 15:57 
AnswerRe: assign an event to a socket operation Pin
Richard MacCutchan18-May-14 21:28
protectorRichard MacCutchan18-May-14 21:28 
GeneralRe: assign an event to a socket operation Pin
bkelly1319-May-14 13:07
memberbkelly1319-May-14 13:07 

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.