Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to handle udp packet from socket and write to serial port? Pin
valikac27-Jun-04 5:33
valikac27-Jun-04 5:33 
GeneralRe: How to handle udp packet from socket and write to serial port? Pin
Member 113345927-Jun-04 6:06
Member 113345927-Jun-04 6:06 
GeneralRe: How to handle udp packet from socket and write to serial port? Pin
valikac27-Jun-04 16:21
valikac27-Jun-04 16:21 
AnswerRe: How to handle udp packet from socket and write to serial port? Pin
Antony M Kancidrowski28-Jun-04 0:58
Antony M Kancidrowski28-Jun-04 0:58 
GeneralRe: How to handle udp packet from socket and write to serial port? Pin
Member 113345928-Jun-04 1:45
Member 113345928-Jun-04 1:45 
GeneralRe: How to handle udp packet from socket and write to serial port? Pin
Antony M Kancidrowski28-Jun-04 8:57
Antony M Kancidrowski28-Jun-04 8:57 
GeneralRe: How to handle udp packet from socket and write to serial port? Pin
Member 11334592-Jul-04 6:30
Member 11334592-Jul-04 6:30 
GeneralRe: How to handle udp packet from socket and write to serial port? Pin
Antony M Kancidrowski5-Jul-04 9:04
Antony M Kancidrowski5-Jul-04 9:04 
Do you have a seperate thread(s) that is reading the data from serial port or socket?
I am unclear on how you get the data. It is there that you do the signalling. i.e. you signal the appropriate event when data arrives.

Generally when waiting for events to occur you are waiting for another thread / process to signal that it has something you are waiting for. When a thread enters WaitForMultipleObjects it stops execution of that thread while it waits. Subsequent code in that thread only executes when WaitForMultipleObjects returns.

Does this help?


Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Williams (Little Britain)

GeneralWTL: List ctrl label edit on dialog (edit:° solved) Pin
peterchen27-Jun-04 4:54
peterchen27-Jun-04 4:54 
GeneralD3DXCreateTextureFromFileInMemory Pin
eugi27-Jun-04 4:53
eugi27-Jun-04 4:53 
GeneralSetScrollInfo Pin
pie27-Jun-04 4:28
pie27-Jun-04 4:28 
GeneralRe: SetScrollInfo Pin
Johan Rosengren27-Jun-04 4:51
Johan Rosengren27-Jun-04 4:51 
GeneralRe: SetScrollInfo Pin
darkbyte27-Jun-04 4:55
darkbyte27-Jun-04 4:55 
GeneralRe: SetScrollInfo Pin
pie27-Jun-04 5:09
pie27-Jun-04 5:09 
GeneralRe: SetScrollInfo Pin
darkbyte27-Jun-04 14:39
darkbyte27-Jun-04 14:39 
GeneralRe: SetScrollInfo Pin
pie28-Jun-04 0:16
pie28-Jun-04 0:16 
Generalhelp needed to get desktop selected/highlighted shortcut Pin
sumon200227-Jun-04 3:27
sumon200227-Jun-04 3:27 
GeneralRe: help needed to get desktop selected/highlighted shortcut Pin
David Crow28-Jun-04 3:17
David Crow28-Jun-04 3:17 
Generalconnection detection& closing the port Pin
shahrokh nabavi27-Jun-04 1:38
shahrokh nabavi27-Jun-04 1:38 
Generaldll linking error Pin
Rajg27-Jun-04 1:16
Rajg27-Jun-04 1:16 
GeneralFastest way to read entire file into memory Pin
georgiek5026-Jun-04 22:03
georgiek5026-Jun-04 22:03 
GeneralRe: Fastest way to read entire file into memory Pin
Rein Hillmann26-Jun-04 22:16
Rein Hillmann26-Jun-04 22:16 
GeneralRe: Fastest way to read entire file into memory Pin
georgiek5027-Jun-04 7:00
georgiek5027-Jun-04 7:00 
GeneralRe: Fastest way to read entire file into memory Pin
palbano28-Jun-04 4:57
palbano28-Jun-04 4:57 
GeneralRe: Fastest way to read entire file into memory Pin
Neville Franks26-Jun-04 23:08
Neville Franks26-Jun-04 23: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.