Click here to Skip to main content
15,916,693 members
Home / Discussions / C#
   

C#

 
GeneralEvents.... Pin
ABBASI_RA3-Mar-05 16:24
ABBASI_RA3-Mar-05 16:24 
GeneralRe: Events.... Pin
s211197923-Mar-05 22:31
s211197923-Mar-05 22:31 
GeneralRe: Events.... Pin
ABBASI_RA4-Mar-05 3:12
ABBASI_RA4-Mar-05 3:12 
GeneralTrying to Programmatically Modify DataSet-databound Control Pin
Newbie_T3-Mar-05 16:19
Newbie_T3-Mar-05 16:19 
GeneralThread Pausing & Timer Pin
Bob Bonser3-Mar-05 16:13
Bob Bonser3-Mar-05 16:13 
GeneralRe: Thread Pausing & Timer Pin
Stefan Troschuetz3-Mar-05 21:34
Stefan Troschuetz3-Mar-05 21:34 
GeneralRe: Thread Pausing & Timer Pin
James Poulose4-Mar-05 1:40
James Poulose4-Mar-05 1:40 
QuestionNetwork Broadcasting. How? Pin
Roman Rodov3-Mar-05 16:07
Roman Rodov3-Mar-05 16:07 
Hi all,

I have a question on how to properly implement network broadcasts.
Our network is divided in subnets and I need help (it is probably more of a networking question than code)

To broadcast I use this code:

IPEndPoint ep = new IPEndPoint(IPAddress.Broadcast, 8300);
UpdClient client = new UdpClient();
client.Send(...,ep);

To receive I use this code:

IPEndPoint ep = new IPEndPoint(IPAddress.Any, 0);
UpdClient client = new UdpClient(8300);
byte [] buffer = client.Receive(ref ep);

My machine is on the 192.168.1.xxx subnet and all machines on the 1.xxx network receive the broadcast, but machines on the 192.168.8.xxx network do not. What IP address should I use in the sending portion to make sure I broadcast to the 8.xxx network?

AnswerRe: Network Broadcasting. How? Pin
Sebastian Schneider3-Mar-05 22:38
Sebastian Schneider3-Mar-05 22:38 
AnswerRe: Network Broadcasting. How? Pin
leppie3-Mar-05 23:46
leppie3-Mar-05 23:46 
GeneralRelease unmanaged code memory by managed code Pin
ting6683-Mar-05 15:25
ting6683-Mar-05 15:25 
GeneralRe: Release unmanaged code memory by managed code Pin
Roman Rodov3-Mar-05 16:18
Roman Rodov3-Mar-05 16:18 
GeneralClient/Server COM+ Application Pin
Wender Oliveira3-Mar-05 14:56
Wender Oliveira3-Mar-05 14:56 
QuestionHow to know if a place holder is empty Pin
see073-Mar-05 13:11
see073-Mar-05 13:11 
AnswerRe: How to know if a place holder is empty Pin
Rob Graham3-Mar-05 15:28
Rob Graham3-Mar-05 15:28 
GeneralRe: How to know if a place holder is empty Pin
see074-Mar-05 9:28
see074-Mar-05 9:28 
Generalsorting datagrid with empty rows Pin
Mc Fetto3-Mar-05 9:32
Mc Fetto3-Mar-05 9:32 
GeneralSelection Color Pin
Radgar3-Mar-05 7:39
Radgar3-Mar-05 7:39 
GeneralCalculations on Dataset Urgent Please help Pin
nishant.gogia3-Mar-05 7:37
nishant.gogia3-Mar-05 7:37 
GeneralRe: Calculations on Dataset Urgent Please help Pin
Kodanda Pani3-Mar-05 16:17
Kodanda Pani3-Mar-05 16:17 
GeneralRe: Calculations on Dataset Urgent Please help Pin
nishant.gogia3-Mar-05 17:07
nishant.gogia3-Mar-05 17:07 
GeneralProblems when going from framework 1.1 to 2.0 beta Pin
Talal Sultan3-Mar-05 7:23
Talal Sultan3-Mar-05 7:23 
GeneralRe: Problems when going from framework 1.1 to 2.0 beta Pin
Judah Gabriel Himango3-Mar-05 7:55
sponsorJudah Gabriel Himango3-Mar-05 7:55 
GeneralRe: Problems when going from framework 1.1 to 2.0 beta Pin
Talal Sultan3-Mar-05 11:24
Talal Sultan3-Mar-05 11:24 
GeneralRe: Problems when going from framework 1.1 to 2.0 beta Pin
S. Senthil Kumar3-Mar-05 7:59
S. Senthil Kumar3-Mar-05 7:59 

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.