Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
GeneralRe: close all XML nodes by defualt Pin
Malcolm Smart3-Aug-07 3:20
Malcolm Smart3-Aug-07 3:20 
GeneralRe: close all XML nodes by defualt Pin
hamid_m3-Aug-07 3:44
hamid_m3-Aug-07 3:44 
GeneralRe: close all XML nodes by defualt Pin
Malcolm Smart3-Aug-07 3:49
Malcolm Smart3-Aug-07 3:49 
GeneralRe: close all XML nodes by defualt Pin
hamid_m3-Aug-07 3:54
hamid_m3-Aug-07 3:54 
GeneralRe: close all XML nodes by defualt Pin
PIEBALDconsult4-Aug-07 4:34
mvePIEBALDconsult4-Aug-07 4:34 
AnswerRe: close all XML nodes by defualt Pin
hamid_m4-Aug-07 5:16
hamid_m4-Aug-07 5:16 
QuestionAsynchronous UDPClient BeginReceive Method Pin
martin_hughes2-Aug-07 23:59
martin_hughes2-Aug-07 23:59 
AnswerRe: Asynchronous UDPClient BeginReceive Method Pin
Guffa3-Aug-07 1:52
Guffa3-Aug-07 1:52 
The example is not quite up to the normal standard for examples in MSDN (with the one letter variable names for one), but it's still adequate to show how the method is to be used.

Examples in MSDN is not on the "for dummies" level, they are just short examples to show the code in some kind of context. If you need more than that, you should buy a book about it.

martin_hughes wrote:
To get around this, I simply call the method containing the call to BeginListen() again from the callback


Yes, that's what you normally would do. Alternatively, you could call the method from your main program after processing the data.

martin_hughes wrote:
but I'm having serious doubts about this as a preferred method of doing things, given that this method (and from MSDN) simply blocks in a while loop


As the comment in the code says, it's just an example. Normally your program would just continue with what it's normally doing, usually just go back to the message pump and wait for something to happen.

---
single minded; short sighted; long gone;

GeneralRe: Asynchronous UDPClient BeginReceive Method Pin
martin_hughes3-Aug-07 2:38
martin_hughes3-Aug-07 2:38 
QuestionUpdating a form from a class ( same instance) problem Pin
Hardboiled862-Aug-07 23:58
Hardboiled862-Aug-07 23:58 
AnswerRe: Updating a form from a class ( same instance) problem Pin
Martin#3-Aug-07 1:34
Martin#3-Aug-07 1:34 
AnswerRe: Updating a form from a class ( same instance) problem Pin
Chintan.Desai3-Aug-07 2:57
Chintan.Desai3-Aug-07 2:57 
QuestionAVI frames to JPG or BMP conversion using C# Pin
sriathma2-Aug-07 23:46
sriathma2-Aug-07 23:46 
Questionopen file which can see inside of it Pin
nhathoang2-Aug-07 23:24
nhathoang2-Aug-07 23:24 
AnswerRe: open file which can see inside of it Pin
Christian Graus2-Aug-07 23:27
protectorChristian Graus2-Aug-07 23:27 
AnswerRe: open file which can see inside of it Pin
Manoj Kumar Rai2-Aug-07 23:53
professionalManoj Kumar Rai2-Aug-07 23:53 
GeneralRe: open file which can see inside of it Pin
nhathoang3-Aug-07 0:02
nhathoang3-Aug-07 0:02 
AnswerRe: open file which can see inside of it Pin
Chintan.Desai3-Aug-07 2:58
Chintan.Desai3-Aug-07 2:58 
QuestionCreate a telephone directory Pin
sgeorgije2-Aug-07 22:49
sgeorgije2-Aug-07 22:49 
AnswerRe: Create a telephone directory Pin
Christian Graus2-Aug-07 23:06
protectorChristian Graus2-Aug-07 23:06 
GeneralRe: Create a telephone directory Pin
sgeorgije2-Aug-07 23:12
sgeorgije2-Aug-07 23:12 
GeneralRe: Create a telephone directory Pin
Christian Graus2-Aug-07 23:21
protectorChristian Graus2-Aug-07 23:21 
AnswerRe: Create a telephone directory Pin
Manoj Kumar Rai2-Aug-07 23:15
professionalManoj Kumar Rai2-Aug-07 23:15 
GeneralRe: Create a telephone directory Pin
Colin Angus Mackay2-Aug-07 23:45
Colin Angus Mackay2-Aug-07 23:45 
GeneralRe: Create a telephone directory Pin
Manoj Kumar Rai3-Aug-07 0:00
professionalManoj Kumar Rai3-Aug-07 0: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.