Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: short[] to int[] -- Generic? Overload? Pin
PhilDanger3-Aug-07 6:25
PhilDanger3-Aug-07 6:25 
QuestionProblems with StreamWriter Class Pin
mouthbag3-Aug-07 4:15
mouthbag3-Aug-07 4:15 
AnswerRe: Problems with StreamWriter Class Pin
snorkie3-Aug-07 4:48
professionalsnorkie3-Aug-07 4:48 
AnswerRe: Problems with StreamWriter Class Pin
martin_hughes3-Aug-07 4:49
martin_hughes3-Aug-07 4:49 
GeneralRe: Problems with StreamWriter Class Pin
mouthbag3-Aug-07 4:55
mouthbag3-Aug-07 4:55 
AnswerRe: Problems with StreamWriter Class Pin
Guffa3-Aug-07 5:40
Guffa3-Aug-07 5:40 
GeneralRe: Problems with StreamWriter Class Pin
Luc Pattyn3-Aug-07 5:52
sitebuilderLuc Pattyn3-Aug-07 5:52 
QuestionHow can I use a parsed UDP byte stream to continually update a GUI form ? Pin
flyingnome3-Aug-07 4:07
flyingnome3-Aug-07 4:07 
Hi everyone,

So here is my concern, I really hope someone here can provide me with some much needed guidance.

Logically, I am not sure what route to take with a project I am working on. So far it is only partially built, but it contains an extensive GUI (without most of the backend still not coded) and a UDP listener that binds to a port, retrieves a byte stream and parses it into a number of variables.

The UDP stream is continuous with packets being sent at around every half second(forever). I would like to have the variables parsed from the byte stream to populate some text fields and and labels in the GUI and I am not quite sure what route to take to do this? Will I need to use multi-threading and separate the processes?

I have gotten the UDP listener to work and I could get the GUI to update the fields accordingly, but only if I stopped listening after a number of broadcasts. The GUI form wouldn't even load until the UDP listener process was finished....

realistically, the GUI would not have to update every half second. it could be every 3 or 4 packets. but in the end I would still need to save the ALL of the parsed data to an XML file or DB, so it would have to be recognized at some point(still deciding where to go with that part...). In any case I am more in need of help regarding the two processes mentioned above.

any kind of help or advice or thoughts would be greatly appreciated.
thank you in advance,

Joe




I am who I am because of who everyone around me is.

AnswerRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
martin_hughes3-Aug-07 5:17
martin_hughes3-Aug-07 5:17 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
flyingnome3-Aug-07 5:36
flyingnome3-Aug-07 5:36 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
martin_hughes3-Aug-07 5:49
martin_hughes3-Aug-07 5:49 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
flyingnome3-Aug-07 6:11
flyingnome3-Aug-07 6:11 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
martin_hughes3-Aug-07 7:07
martin_hughes3-Aug-07 7:07 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
flyingnome7-Aug-07 7:53
flyingnome7-Aug-07 7:53 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
martin_hughes7-Aug-07 12:30
martin_hughes7-Aug-07 12:30 
QuestionA error is difficult to understand Pin
nhathoang3-Aug-07 4:04
nhathoang3-Aug-07 4:04 
AnswerRe: A error is difficult to understand Pin
Colin Angus Mackay3-Aug-07 4:11
Colin Angus Mackay3-Aug-07 4:11 
AnswerRe: A error is difficult to understand Pin
Pete O'Hanlon3-Aug-07 4:14
mvePete O'Hanlon3-Aug-07 4:14 
GeneralRe: A error is difficult to understand Pin
nhathoang3-Aug-07 4:18
nhathoang3-Aug-07 4:18 
GeneralRe: A error is difficult to understand Pin
Pete O'Hanlon3-Aug-07 4:29
mvePete O'Hanlon3-Aug-07 4:29 
GeneralRe: A error is difficult to understand Pin
nhathoang3-Aug-07 7:35
nhathoang3-Aug-07 7:35 
AnswerRe: A error is difficult to understand Pin
Luc Pattyn3-Aug-07 5:56
sitebuilderLuc Pattyn3-Aug-07 5:56 
Questionhow to initiate a class stored in string variable Pin
Asif Rehman3-Aug-07 3:32
Asif Rehman3-Aug-07 3:32 
AnswerRe: how to initiate a class stored in string variable Pin
Guffa3-Aug-07 3:36
Guffa3-Aug-07 3:36 
AnswerRe: how to initiate a class stored in string variable Pin
Urs Enzler3-Aug-07 3:58
Urs Enzler3-Aug-07 3:58 

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.