Assume we have a server A waiting for searching request, when such request comes the server A will multicast it to many other servers Bs each of which has a directory contains many text files and as a response to the request each of Bs servers will search inside these files for the requesting word and return the results to server A which in turn will return the file name and the location of each result to the requesting client
1- Server A must be multithreaded i.e. the thread which multicasts the request differs from the one which receives the results, so there must be an ID for each request.
2- Servers B also are multithreaded.
3- Multicast will be over MulticastSocket with UDP
hi guys i have a question, im doing a very simple thread application that increments a value everytime a thread runs, i've got 4 threads running at the same time, but everytime all threads increment the count var, its allways 1 it doesn't change on each thread execution i use synchronized to allow 1 thread increments the var at a time but after all threads die count var outputs same value,
That seems to be a custom message box. Hence in C# (if you are using Windows Forms), you could use MessageBox.Show as a replacement for ConfirmDeleteDialog.showMessage. The return value in C# is a DialogResult.
Thanks for replaying to my java question. I'm using WPF Window Form (not the Windows Forms). Is there anyway you could help me to convert that java code I'm very new to programming and I don't have a clue how to do it honestly...
If you are new to programming then why are you concerned about trying to convert Java to C# when creating a WPF program? Forget Java and spend some time studying how to do things properly in WPF. There are lots of useful samples in the WPF articles section[^].
One of these days I'm going to think of a really clever signature.