Click here to Skip to main content
14,367,581 members

ATL / WTL / STL

 
GeneralRe: easy for classes Pin
bkelly1312-Dec-13 13:53
memberbkelly1312-Dec-13 13:53 
AnswerRe: easy for classes Pin
Albert Holguin12-Dec-13 14:10
professionalAlbert Holguin12-Dec-13 14:10 
QuestionI want to showing "+" allways in WTL CTreeViewCtrl Pin
cheng84977cc25-Nov-13 6:40
membercheng84977cc25-Nov-13 6:40 
AnswerRe: I want to showing "+" allways in WTL CTreeViewCtrl Pin
Wayne.CN13-Jan-14 18:51
memberWayne.CN13-Jan-14 18:51 
Question[How to Convert data in textBox to .Txt file in Windows Form C++] Pin
Member 1041578020-Nov-13 20:53
memberMember 1041578020-Nov-13 20:53 
QuestionRe: [How to Convert data in textBox to .Txt file in Windows Form C++] Pin
Richard MacCutchan20-Nov-13 23:21
protectorRichard MacCutchan20-Nov-13 23:21 
Questionstl thread safe Pin
G.aius.CodeCreator18-Nov-13 16:38
memberG.aius.CodeCreator18-Nov-13 16:38 
Questionwaiting on events for socket activity Pin
bkelly1318-Nov-13 15:05
memberbkelly1318-Nov-13 15:05 
Windows 7, visual studio 2008, C++
Reference: http://www.winsocketdotnetworkprogramming.com/[^]

I just discovered this site and now I think that a TPC/IP class can be created that does not use messages and needs no window. Async socket operation can generate events such as FD_SEND (it is okay to send now) and FD_READ (Windows has received some data for the application to capture.)

I can also declare and generate my own events. If I put the TCP/IP code in a class, make it a thread and crank it up, I can also pass it handles of events I have created along with the some other goodies in a single structure (such as the address of the buffer where the main app puts data to send out).

One of the key calls is WSAWaitForMultipleEvents() function where one of the arguments is an array of event handles. I did not recognize anything that places a limit on the type or category of events that it can received. (Is there any such thing as that? I know that Windows reserves event numbers below a certain value.)

Rather than a long post I will hope that the knowledgeable reader will recognize the intent and comment on the feasibility and/or loop holes and gotchas that await.
Thanks for your time
If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/

AnswerRe: waiting on events for socket activity Pin
Orjan Westin20-Nov-13 0:03
professionalOrjan Westin20-Nov-13 0:03 
GeneralRe: waiting on events for socket activity Pin
bkelly1325-Nov-13 17:08
memberbkelly1325-Nov-13 17:08 
GeneralRe: waiting on events for socket activity Pin
Orjan Westin26-Nov-13 0:01
professionalOrjan Westin26-Nov-13 0:01 
GeneralRe: waiting on events for socket activity Pin
bkelly1326-Nov-13 9:07
memberbkelly1326-Nov-13 9:07 
QuestionWhat is the window argument in WSAAsyncSelect(...) Pin
bkelly1310-Nov-13 16:59
memberbkelly1310-Nov-13 16:59 
AnswerRe: What is the window argument in WSAAsyncSelect(...) Pin
Richard MacCutchan10-Nov-13 22:08
protectorRichard MacCutchan10-Nov-13 22:08 
Generalcreate a window for callbacks Pin
bkelly1311-Nov-13 3:00
memberbkelly1311-Nov-13 3:00 
GeneralRe: create a window for callbacks Pin
Richard MacCutchan11-Nov-13 4:01
protectorRichard MacCutchan11-Nov-13 4:01 
GeneralRe: create a window for callbacks Pin
bkelly1311-Nov-13 5:49
memberbkelly1311-Nov-13 5:49 
GeneralRe: create a window for callbacks Pin
Richard MacCutchan11-Nov-13 7:33
protectorRichard MacCutchan11-Nov-13 7:33 
GeneralRe: create a window for callbacks Pin
bkelly1311-Nov-13 9:33
memberbkelly1311-Nov-13 9:33 
GeneralRe: create a window for callbacks Pin
Richard MacCutchan11-Nov-13 23:37
protectorRichard MacCutchan11-Nov-13 23:37 
GeneralRe: create a window for callbacks Pin
bkelly1312-Nov-13 16:50
memberbkelly1312-Nov-13 16:50 
AnswerRe: What is the window argument in WSAAsyncSelect(...) Pin
Orjan Westin20-Nov-13 0:25
professionalOrjan Westin20-Nov-13 0:25 
GeneralRe: What is the window argument in WSAAsyncSelect(...) Pin
bkelly1321-Nov-13 15:51
memberbkelly1321-Nov-13 15:51 
QuestionMFC vs STL performance test Pin
Alexander Fedorov18-Oct-13 12:42
memberAlexander Fedorov18-Oct-13 12:42 
AnswerRe: MFC vs STL performance test Pin
Richard MacCutchan18-Oct-13 22:08
protectorRichard MacCutchan18-Oct-13 22:08 

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.