Re: Socket connect vs. bind? What is the difference

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.



.



Relevant Pages

  • Re: (OT) Bit Torrent usage ...
    ... > you need to specify/open ports, and you need to 'trust' your client app. ... That 'client' app designation is now blurred though. ... security issues that might be triggered by a properly coded python ...
    (Fedora)
  • Re: Question abut threads
    ... I dont have any particular reason for 8 ports except that I have 8 clients ... TcpClient client = listener.AcceptTcpClient; ... encodings it would be. ... StringBuilder to accumulate the string, ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Port Forwarding XP Client
    ... 59101 and 6320 from the XP client to the internet. ... First could you tell me what the three ports are in aid of? ... from client to the internet. ... SBS Server on the router. ...
    (microsoft.public.windows.server.sbs)
  • Re: OT:Tiscali
    ... year.However i know some of these isp's use throttling during peak ... pretty sure I got the best provider. ... Also for your P2P client, its a good idea to manually forward your ... Step by step walkthrough on how to forward your ports for P2P ...
    (uk.sport.football.clubs.celtic)
  • Re: OT:Tiscali
    ... >> year.However i know some of these isp's use throttling during peak ... >> else with tiscali having the same problem?Also found that you cant ... > Also for your P2P client, its a good idea to manually forward your ... > Step by step walkthrough on how to forward your ports for P2P ...
    (uk.sport.football.clubs.celtic)