Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
GeneralXmlTextWriter query Pin
Nish Nishant9-Apr-03 17:00
sitebuilderNish Nishant9-Apr-03 17:00 
GeneralRe: XmlTextWriter query Pin
Arun Bhalla9-Apr-03 19:14
Arun Bhalla9-Apr-03 19:14 
GeneralRe: XmlTextWriter query Pin
Nish Nishant9-Apr-03 20:00
sitebuilderNish Nishant9-Apr-03 20:00 
GeneralRe: XmlTextWriter query Pin
Arun Bhalla9-Apr-03 20:02
Arun Bhalla9-Apr-03 20:02 
GeneralRe: XmlTextWriter query Pin
Nish Nishant9-Apr-03 20:05
sitebuilderNish Nishant9-Apr-03 20:05 
Generalmacros in C# Pin
TigerNinja_9-Apr-03 14:55
TigerNinja_9-Apr-03 14:55 
GeneralRe: macros in C# Pin
TigerNinja_10-Apr-03 2:53
TigerNinja_10-Apr-03 2:53 
GeneralQuestion about multiple threads Pin
Johan de Koning9-Apr-03 10:40
Johan de Koning9-Apr-03 10:40 
I have the following situtation

In my program i want to do request an dns lookup for several servers. How many servers are variable and are listed in a string array. Now i want to request the dns lookup not after each other but i want to do them in threads. So that not one dns lookup is waiting before the other is ready.

From each dns lookup thread i want the IPaddress as return value. And after all i want my program to continue after all threads are stopt.

So a quick summary

- Program start
- List of servers is in array list (for example 10)
- Starts 10 threads with the server to check as parameter
- Get response of the threads (and keep them in memory)
- Continue with program after all threads are done

I hope someone can help me with this. I search a lot about Threads but havend found a clear solutions for this problem. And if you think you had an other/better solution without threads, please reply also.

Thanx
GeneralRe: Question about multiple threads Pin
TigerNinja_9-Apr-03 13:53
TigerNinja_9-Apr-03 13:53 
GeneralKey mappings Pin
CP039-Apr-03 9:26
CP039-Apr-03 9:26 
GeneralDatabase filtering quandries Pin
RB@Emphasys9-Apr-03 9:07
RB@Emphasys9-Apr-03 9:07 
GeneralC# Equiv to WITH in VB.NET Pin
Dato9-Apr-03 6:57
Dato9-Apr-03 6:57 
GeneralRe: C# Equiv to WITH in VB.NET Pin
Daniel Turini9-Apr-03 7:09
Daniel Turini9-Apr-03 7:09 
GeneralRe: C# Equiv to WITH in VB.NET Pin
J. Dunlap9-Apr-03 8:31
J. Dunlap9-Apr-03 8:31 
GeneralRe: C# Equiv to WITH in VB.NET Pin
Roger Alsing10-Apr-03 3:13
Roger Alsing10-Apr-03 3:13 
GeneralRe: C# Equiv to WITH in VB.NET Pin
Member 26118811-Apr-03 1:14
Member 26118811-Apr-03 1:14 
GeneralRe: C# Equiv to WITH in VB.NET Pin
Roger Alsing11-Apr-03 1:51
Roger Alsing11-Apr-03 1:51 
GeneralSending/Simulating Mouse Clicks Pin
CyberKewl9-Apr-03 4:41
CyberKewl9-Apr-03 4:41 
GeneralRe: Sending/Simulating Mouse Clicks Pin
J. Dunlap9-Apr-03 8:34
J. Dunlap9-Apr-03 8:34 
GeneralRe: Sending/Simulating Mouse Clicks Pin
CyberKewl9-Apr-03 12:51
CyberKewl9-Apr-03 12:51 
GeneralRe: Counting characters from a text file Pin
Le centriste9-Apr-03 4:37
Le centriste9-Apr-03 4:37 
General<-- Post of the week Pin
Stephane Rodriguez.9-Apr-03 5:34
Stephane Rodriguez.9-Apr-03 5:34 
GeneralRe: Counting characters from a text file Pin
leppie9-Apr-03 7:04
leppie9-Apr-03 7:04 
Generalfind network computers Pin
Andrei Matei9-Apr-03 1:40
Andrei Matei9-Apr-03 1:40 
GeneralRe: find network computers Pin
Richard Deeming10-Apr-03 4:31
mveRichard Deeming10-Apr-03 4:31 

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.