Click here to Skip to main content
15,905,558 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multiple Forms Pin
Heath Stewart28-Jun-04 6:56
protectorHeath Stewart28-Jun-04 6:56 
GeneralRe: Multiple Forms Pin
Jon_Slaughter28-Jun-04 8:21
Jon_Slaughter28-Jun-04 8:21 
GeneralRe: Multiple Forms Pin
Heath Stewart28-Jun-04 8:57
protectorHeath Stewart28-Jun-04 8:57 
GeneralRe: Multiple Forms Pin
Jon_Slaughter28-Jun-04 9:16
Jon_Slaughter28-Jun-04 9:16 
GeneralRe: Multiple Forms Pin
Heath Stewart28-Jun-04 9:34
protectorHeath Stewart28-Jun-04 9:34 
GeneralRe: Multiple Forms Pin
Jon_Slaughter28-Jun-04 11:14
Jon_Slaughter28-Jun-04 11:14 
GeneralRe: Multiple Forms Pin
Heath Stewart28-Jun-04 11:27
protectorHeath Stewart28-Jun-04 11:27 
GeneralMulticast Programming Pin
goodpilot28-Jun-04 6:25
goodpilot28-Jun-04 6:25 
I am writing an app that needs to receive multicast data. However, the amount of data being sent on a single multicast group is enormous and I do not have any control over the publishing side of the data. So what I'd like to do is to run multiple instances of the same app on a single, high power machine and assign each instance of the app a manageable segment of the total multicast feed to process. So for example run 4 apps and let each of them process only 1/4 of the total amount of data each.

But here is the problem, which I hope one of you will be able to help me solve. If I run multiple instances that all try to join the same multicast group on the same machine I get the following error:

System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted

This happens when the UdpClient object is being instantiated as follows:

udpClient = new UdpClient(portNumber);

The interesting thing is that I do not have this problem when I run an app that was built using Visual C++ and WinSock. It only happens with the .NET framework.

Does anyone have an answer to this other than "use 4 separate machines"?

Thanks

Robert

GeneralRe: Multicast Programming Pin
Heath Stewart28-Jun-04 6:47
protectorHeath Stewart28-Jun-04 6:47 
GeneralRe: Multicast Programming Pin
goodpilot28-Jun-04 7:35
goodpilot28-Jun-04 7:35 
GeneralGetting a ConfigurationException and I dont know why Pin
Flack28-Jun-04 6:18
Flack28-Jun-04 6:18 
GeneralRe: Getting a ConfigurationException and I dont know why Pin
Heath Stewart28-Jun-04 6:25
protectorHeath Stewart28-Jun-04 6:25 
GeneralRe: Getting a ConfigurationException and I dont know why Pin
Flack28-Jun-04 6:35
Flack28-Jun-04 6:35 
Questionhow to retrieve the ProductCode? Pin
econnor28-Jun-04 6:15
econnor28-Jun-04 6:15 
AnswerRe: how to retrieve the ProductCode? Pin
Heath Stewart28-Jun-04 6:21
protectorHeath Stewart28-Jun-04 6:21 
GeneralRe: how to retrieve the ProductCode? Pin
econnor29-Jun-04 3:53
econnor29-Jun-04 3:53 
GeneralEnumerations (design question) Pin
mealnumberone28-Jun-04 5:44
mealnumberone28-Jun-04 5:44 
GeneralRe: Enumerations (design question) Pin
Heath Stewart28-Jun-04 6:33
protectorHeath Stewart28-Jun-04 6:33 
Questionneed to send within the current connection ..? Pin
Adel83k28-Jun-04 5:18
Adel83k28-Jun-04 5:18 
AnswerRe: need to send within the current connection ..? Pin
Heath Stewart28-Jun-04 6:29
protectorHeath Stewart28-Jun-04 6:29 
GeneralWindows Service App Pin
japanreddy28-Jun-04 4:37
japanreddy28-Jun-04 4:37 
GeneralRe: Windows Service App Pin
Heath Stewart28-Jun-04 4:55
protectorHeath Stewart28-Jun-04 4:55 
GeneralRe: Windows Service App Pin
Xiangyang Liu 刘向阳28-Jun-04 5:17
Xiangyang Liu 刘向阳28-Jun-04 5:17 
GeneralFolderBrowserDialog external machine selection Pin
fozzwald28-Jun-04 4:29
fozzwald28-Jun-04 4:29 
GeneralRe: FolderBrowserDialog external machine selection Pin
Heath Stewart28-Jun-04 4:46
protectorHeath Stewart28-Jun-04 4:46 

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.