473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

UDP broad casting

I'm trying to write a simple disconnected "client-server" application.
where new application just broadcast the network to try to find peers

apparently I have to use UDP, but I didn't manage to find a clear
explanation and/or a simple example.

does any one of you could provides me some links ?
(in C# ?)
Nov 15 '05 #1
3 996
Lloyd:

Check out my article on
http://www.knowdotnet.com/testsite/a...stmessage.html

I wrote it in VB.NET but the conversion is simple - as a matter of fact,
we're still proofing everything before we go live and I' should have the C#
version ready tomorrow (I think we're posting tomorrow night) but I can send
it to you if you have any troubles.

Good Luck,

Bill
"Lloyd Dupont" <net.galador@ld> wrote in message
news:e3****************@TK2MSFTNGP10.phx.gbl...
I'm trying to write a simple disconnected "client-server" application.
where new application just broadcast the network to try to find peers

apparently I have to use UDP, but I didn't manage to find a clear
explanation and/or a simple example.

does any one of you could provides me some links ?
(in C# ?)

Nov 15 '05 #2
Lloyd:

Thanks, I can't get the attachment b/c it's being blocked, can you send me
the URL or a zip of it? I'd definitely like to see it. my email is
bi**@LEAVETHISOUTknowdotnet.com

Thanks,

Bill
"Lloyd Dupont" <net.galador@ld> wrote in message
news:uk**************@tk2msftngp13.phx.gbl...
Hi William !
looking for resource more and more I finally found this very simple example (C# file attached) I comment a few things I didn't need and it works great. However I wonder about the usefullness of the commented section, I'm sure it would be a valuable addition to your article ;-)
"William Ryan" <do********@comcast.nospam.net> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
Lloyd:

Check out my article on
http://www.knowdotnet.com/testsite/a...stmessage.html

I wrote it in VB.NET but the conversion is simple - as a matter of fact,
we're still proofing everything before we go live and I' should have the

C#
version ready tomorrow (I think we're posting tomorrow night) but I can

send
it to you if you have any troubles.

Good Luck,

Bill
"Lloyd Dupont" <net.galador@ld> wrote in message
news:e3****************@TK2MSFTNGP10.phx.gbl...
I'm trying to write a simple disconnected "client-server" application.
where new application just broadcast the network to try to find peers

apparently I have to use UDP, but I didn't manage to find a clear
explanation and/or a simple example.

does any one of you could provides me some links ?
(in C# ?)



Nov 15 '05 #3
Would you send me the file too? I'd appreciate it!

Thank you!

Fabio Cavalcante
tp*****************@REMOVMEmsn.com

"William Ryan" <do********@comcast.nospam.net> wrote in message
news:eF*************@TK2MSFTNGP11.phx.gbl...
Lloyd:

Thanks, I can't get the attachment b/c it's being blocked, can you send me
the URL or a zip of it? I'd definitely like to see it. my email is
bi**@LEAVETHISOUTknowdotnet.com

Thanks,

Bill
"Lloyd Dupont" <net.galador@ld> wrote in message
news:uk**************@tk2msftngp13.phx.gbl...
Hi William !
looking for resource more and more I finally found this very simple example
(C# file attached) I comment a few things I didn't need and it works

great.
However I wonder about the usefullness of the commented section, I'm sure it
would be a valuable addition to your article ;-)
"William Ryan" <do********@comcast.nospam.net> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
Lloyd:

Check out my article on
http://www.knowdotnet.com/testsite/a...stmessage.html

I wrote it in VB.NET but the conversion is simple - as a matter of fact, we're still proofing everything before we go live and I' should have the C#
version ready tomorrow (I think we're posting tomorrow night) but I
can send
it to you if you have any troubles.

Good Luck,

Bill
"Lloyd Dupont" <net.galador@ld> wrote in message
news:e3****************@TK2MSFTNGP10.phx.gbl...
> I'm trying to write a simple disconnected "client-server"

application. > where new application just broadcast the network to try to find peers >
> apparently I have to use UDP, but I didn't manage to find a clear
> explanation and/or a simple example.
>
> does any one of you could provides me some links ?
> (in C# ?)
>
>



Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jacob Jensen | last post by:
This question has probably been asked a million time, but here it comes again. I want to learn the difference between the three type cast operators: static_cast, reinterpret_cast, dynamic_cast. A...
231
by: Brian Blais | last post by:
Hello, I saw on a couple of recent posts people saying that casting the return value of malloc is bad, like: d=(double *) malloc(50*sizeof(double)); why is this bad? I had always thought...
7
by: yufufi | last post by:
lets say we have a 'shape' class which doesn't implement IComparable interface.. compiler doesn't give you error for the lines below.. shape b= new shape(); IComparable h; h=(IComparable)b;...
7
by: Jim Bancroft | last post by:
Hi everyone, A basic one here, I think. I haven't found the pattern yet, but sometimes when I cast a variable to another type using the "C" style cast operator the compiler refuses to play...
2
by: Enrique Bustamante | last post by:
Casting arrays that works on watch and command window but not in code. My application is casting arrays in a way it should work. To test if I was doing something invalid, I wrote a test code that...
7
by: S. Lorétan | last post by:
Hi guys, Sorry for this stupid question, but I don't know why it isn't working. Here is my (example) code: namespace Test { class A { public string Label1; }
17
by: sophia.agnes | last post by:
Hi , I was going through peter van der linden's book Expert C programming, in this book there is a section named "How and why to cast" the author then says as follows (float) 3 - it's a...
9
by: Taras_96 | last post by:
Hi everyone, I was experimenting with static_cast and reinterpret cast #include <iostream> struct A1 { int a; }; struct A2 { double d; }; struct B : public A1, A2
12
by: Taras_96 | last post by:
Hi everyone, Herb Schildt in "C++, the complete reference" writes: "In C++, it is illegal to convert one type of pointer into another without the use of an explicit type cast. For this...
101
by: Tinkertim | last post by:
Hi, I have often wondered if casting the return value of malloc() (or friends) actually helps anything, recent threads here suggest that it does not .. so I hope to find out. For instance : ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.