Click here to Skip to main content
15,176,561 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: detect event in MFC dialog Pin
monitsystem2-Jun-14 7:44
Membermonitsystem2-Jun-14 7:44 
GeneralRe: detect event in MFC dialog Pin
bkelly132-Jun-14 10:13
Memberbkelly132-Jun-14 10:13 
AnswerRe: detect event in MFC dialog Pin
Albert Holguin5-Jun-14 10:49
professionalAlbert Holguin5-Jun-14 10:49 
GeneralRe: detect event in MFC dialog Pin
bkelly135-Jun-14 15:56
Memberbkelly135-Jun-14 15:56 
GeneralRe: detect event in MFC dialog Pin
Albert Holguin6-Jun-14 7:44
professionalAlbert Holguin6-Jun-14 7:44 
Questioncheck if dll is registred as x32 or loaded to Out_of_process Pin
MrKBA25-May-14 13:37
MemberMrKBA25-May-14 13:37 
AnswerRe: check if dll is registred as x32 or loaded to Out_of_process Pin
Randor 1-Jun-14 20:01
professional Randor 1-Jun-14 20:01 
Questionassign an event to a socket operation Pin
Member 798013518-May-14 16:57
MemberMember 798013518-May-14 16:57 
Windows 7, Visual Studio 2012, winsock

Edit: Oops, posted in ATL rather than C++. If you are an admin type, please move it.

How is an event associated with a socket operation? For example:
[code]
C#
// start listening for new clients attempting to connect
    iResult = listen(ListenSocket, 1);


[/code]
The socket is non-blocking and the code continues while waiting for the listen operation to complete. I want event: CLIENT_DETECTED (arbitrary name, I know how to create the event.) to be triggered when a client solicits a connection. Yes, I understand a bunch of code is needed to capture that event and do something.

Thank you for your time.

modified 18-May-14 22:06pm.

AnswerRe: assign an event to a socket operation Pin
Richard MacCutchan18-May-14 22:28
mveRichard MacCutchan18-May-14 22:28 
GeneralRe: assign an event to a socket operation Pin
bkelly1319-May-14 14:07
Memberbkelly1319-May-14 14:07 
GeneralRe: assign an event to a socket operation Pin
Richard MacCutchan19-May-14 22:34
mveRichard MacCutchan19-May-14 22:34 
GeneralRe: assign an event to a socket operation Pin
bkelly1320-May-14 7:20
Memberbkelly1320-May-14 7:20 
GeneralListen can be non-blocking Pin
bkelly133-Jun-14 9:19
Memberbkelly133-Jun-14 9:19 
Questionmy icon in system tray always visible Pin
Member 104023906-May-14 9:16
professionalMember 104023906-May-14 9:16 
QuestionRe: my icon in system tray always visible Pin
Richard MacCutchan6-May-14 10:07
mveRichard MacCutchan6-May-14 10:07 
AnswerRe: my icon in system tray always visible Pin
Member 104023906-May-14 10:32
professionalMember 104023906-May-14 10:32 
SuggestionRe: my icon in system tray always visible Pin
Richard MacCutchan6-May-14 10:50
mveRichard MacCutchan6-May-14 10:50 
GeneralRe: my icon in system tray always visible Pin
Member 104023906-May-14 11:06
professionalMember 104023906-May-14 11:06 
GeneralRe: my icon in system tray always visible Pin
Richard MacCutchan6-May-14 11:19
mveRichard MacCutchan6-May-14 11:19 
GeneralRe: my icon in system tray always visible Pin
Member 104023906-May-14 12:05
professionalMember 104023906-May-14 12:05 
QuestionTo fix the first column of ClistView grid control Pin
sma123#2-May-14 8:22
Membersma123#2-May-14 8:22 
GeneralRe: To fix the first column of ClistView grid control Pin
Richard MacCutchan2-May-14 8:33
mveRichard MacCutchan2-May-14 8:33 
Questionevent arithmetic Pin
bkelly137-Apr-14 16:27
Memberbkelly137-Apr-14 16:27 
GeneralRe: event arithmetic Pin
Richard MacCutchan7-Apr-14 23:03
mveRichard MacCutchan7-Apr-14 23:03 
AnswerRe: event arithmetic Pin
pasztorpisti8-Apr-14 11:06
Memberpasztorpisti8-Apr-14 11:06 

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.