Re: Socket connect vs. bind? What is the difference
- From: "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 9 Jun 2006 09:08:23 -0400
Sure, it's eminently possible. Remember that an IPEndpoint is a combination
of an IP Address and a Port. Since there are 65,536 TCP ports on any given
machine, you could theoretically test it against 10's of thousands of
clients using the same (local) IP Address and different ports.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist
A lifetime is made up of
Lots of short moments.
"DaTurk" <mmagdits@xxxxxxxxxxx> wrote in message
news:1149803842.346817.268750@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks again for helping me. I do understand the in and outs of the
protocols etc.. I;ve been a developer for the last two years, but all
of my experience has been ceneterd on thin client. Now I have a job
working with thick client, and I've just learnt how to use C# Async
methods and all that good stuff; hence I'm new so I'm a tad confused of
some of the nuances.
My app works, it's just I want it to work in a debug regard. What it
does is it has a sender, which there will be only one, will send info
via a UDP multi cast to multiple recipients subscribed to a given
muticast group. Now, when it's in productio it will work because all
of the little recipients will have different local ip's but, I want to
be able to test it locally with more then one recipient running.
That's ultimately where I'm confused. I understand that each socket
needs a distinct endpoint of it's own. So, any suggestions on how to
do this? Is it possible?
The only reason I think it is is because I've been supporting this
other app and I created several recipients all using 127.0.0.1:10002.
Although they were asynch connecting over TCP/IP, so I don't know.
.
- Follow-Ups:
- Re: Socket connect vs. bind? What is the difference
- From: DaTurk
- Re: Socket connect vs. bind? What is the difference
- References:
- Socket connect vs. bind? What is the difference
- From: DaTurk
- Re: Socket connect vs. bind? What is the difference
- From: Kevin Spencer
- Re: Socket connect vs. bind? What is the difference
- From: DaTurk
- Re: Socket connect vs. bind? What is the difference
- From: Kevin Spencer
- Re: Socket connect vs. bind? What is the difference
- From: DaTurk
- Re: Socket connect vs. bind? What is the difference
- From: Kevin Spencer
- Re: Socket connect vs. bind? What is the difference
- From: DaTurk
- Re: Socket connect vs. bind? What is the difference
- From: Kevin Spencer
- Re: Socket connect vs. bind? What is the difference
- From: DaTurk
- Re: Socket connect vs. bind? What is the difference
- From: DaTurk
- Re: Socket connect vs. bind? What is the difference
- From: Kevin Spencer
- Re: Socket connect vs. bind? What is the difference
- From: DaTurk
- Socket connect vs. bind? What is the difference
- Prev by Date: Re: Using glyphs in C#
- Next by Date: Re: Regular Expression Help
- Previous by thread: Re: Socket connect vs. bind? What is the difference
- Next by thread: Re: Socket connect vs. bind? What is the difference
- Index(es):
Relevant Pages
|