Re: Listeners

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Viola (anonymous_at_discussions.microsoft.com)
Date: 06/01/04


Date: Tue, 1 Jun 2004 00:26:02 -0700


>The async methods use threads internally, anyway. I would say, more than any
>other consideration, use the approach that you are most comfortable to code
>with.

For me both the concepts are new. Never done programming using threads or async methods! Can you give me links to good articles on both?

Thanks for bearing with me this far!

>I would be looking to use 3 ports (2 listeners, and one sender). I can see
>no benefit from forcing this dual use of one of you ports, and life will be
>a lot easier if you use three ports.

If using 3 ports would be easier to work with, I would rather use 3 ports! Just clarifying,

You mean to say that the third port should be used to send data to server2
1. data passed from server1
2. results of the query from server2

And port1 and port2 should be used only as listening ports?

Thanks once again!
Regards,
Viola



Relevant Pages

  • Re: Listeners
    ... The async methods use threads internally, ... receive query from server2; and in the meanwhile, ... I would be looking to use 3 ports ... no benefit from forcing this dual use of one of you ports, ...
    (microsoft.public.dotnet.framework)
  • Re: Listeners
    ... BeginXXX would be my recommendation. ... Nick. ... >>The async methods use threads internally, ... >>a lot easier if you use three ports. ...
    (microsoft.public.dotnet.framework)