Click here to Skip to main content
15,844,387 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CWnd::OnRButtonUp( ) Pin
Michael Dunn2-Jun-06 15:36
sitebuilderMichael Dunn2-Jun-06 15:36 
GeneralRe: CWnd::OnRButtonUp( ) Pin
LeeeNN2-Jun-06 22:20
LeeeNN2-Jun-06 22:20 
QuestionForcing focus to a control.... [modified] Pin
Peter Weyzen2-Jun-06 13:13
Peter Weyzen2-Jun-06 13:13 
AnswerRe: Forcing focus to a control.... [modified] Pin
Wes Aday2-Jun-06 13:20
professionalWes Aday2-Jun-06 13:20 
QuestionAccelerators Questions Pin
Maximilien2-Jun-06 11:31
Maximilien2-Jun-06 11:31 
GeneralRe: Accelerators Questions Pin
Maxwell Chen2-Jun-06 12:12
Maxwell Chen2-Jun-06 12:12 
QuestionWinsock 2 question Pin
SPowers2-Jun-06 11:17
SPowers2-Jun-06 11:17 
AnswerRe: Winsock 2 question Pin
Zac Howland2-Jun-06 11:22
Zac Howland2-Jun-06 11:22 
SPowers wrote:
Is it possible (and ok) to send packets outside of the thread as long as I have the socket handle?


Yes. It is both possible and okay. Some design implementations call for separating the sending and receiving sections for communications.


SPowers wrote:
Also, can I call functions from within the socket thread to change data from a class that wasnt passed to the new thread?

AKA push items onto a vector from within the threaded socket loop.


You will probably want a queue, but yes. Just make sure you use critical sections when adding/removing items from the vector/queue.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
GeneralRe: Winsock 2 question Pin
SPowers2-Jun-06 11:23
SPowers2-Jun-06 11:23 
GeneralRe: Winsock 2 question Pin
led mike2-Jun-06 12:15
led mike2-Jun-06 12:15 
QuestionHANDLE - what exactly is it ? Pin
big_denny_2002-Jun-06 11:16
big_denny_2002-Jun-06 11:16 
AnswerRe: HANDLE - what exactly is it ? [modified] Pin
Maxwell Chen2-Jun-06 11:57
Maxwell Chen2-Jun-06 11:57 
QuestionHow to learn develop in C++ and VOIP ? Pin
Yanshof2-Jun-06 9:47
Yanshof2-Jun-06 9:47 
AnswerRe: How to learn develop in C++ and VOIP ? Pin
led mike2-Jun-06 9:55
led mike2-Jun-06 9:55 
GeneralRe: How to learn develop in C++ and VOIP ? [modified] Pin
Yanshof2-Jun-06 11:39
Yanshof2-Jun-06 11:39 
AnswerRe: How to learn develop in C++ and VOIP ? [modified] Pin
Maxwell Chen2-Jun-06 12:04
Maxwell Chen2-Jun-06 12:04 
Questionstring issues again [modified] Pin
big_denny_2002-Jun-06 9:21
big_denny_2002-Jun-06 9:21 
AnswerRe: string issues again [modified] Pin
Zac Howland2-Jun-06 9:30
Zac Howland2-Jun-06 9:30 
AnswerRe: string issues again Pin
Anton Mikhalyov2-Jun-06 22:38
Anton Mikhalyov2-Jun-06 22:38 
QuestionDriver creation problem Pin
Sharath862-Jun-06 8:34
Sharath862-Jun-06 8:34 
AnswerRe: Driver creation problem Pin
Maxwell Chen2-Jun-06 12:28
Maxwell Chen2-Jun-06 12:28 
QuestionBinary Trees Pin
Mridang Agarwalla2-Jun-06 8:30
Mridang Agarwalla2-Jun-06 8:30 
AnswerRe: Binary Trees Pin
Zac Howland2-Jun-06 10:07
Zac Howland2-Jun-06 10:07 
AnswerRe: Binary Trees Pin
David Crow2-Jun-06 10:43
David Crow2-Jun-06 10:43 
Questionmanaged String in Visual C++ / call a function like void f(int& x, String* s) Pin
karlheinzsteinhart2-Jun-06 7:05
karlheinzsteinhart2-Jun-06 7:05 

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.