Click here to Skip to main content
15,914,016 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help me!! Pin
Christian Graus27-Jun-04 12:09
protectorChristian Graus27-Jun-04 12:09 
QuestionHow to handle udp packet from socket and write to serial port? Pin
Member 113345927-Jun-04 5:22
Member 113345927-Jun-04 5:22 
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 
If you look at CreateEvent(), SetEvent() this will help you out.

Basically you need to:

1) Create an event for handle[0] and handle[1]
2) set the appropriate event either handle[0] or handle[1] depending on what data you recieve.

The WaitForMultipleObjects() will then return with the signalled handle.

Any clearer?

Ant.

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

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 
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 

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.