Hi Feng,
|| Our VB.Net app is using an 3rd party component to
|| communicate with other apps on different plateform.
You've got a App with a 3rd party component. which communicates with
remote applications through ports. That's as far as I understand then I'm
uncertain. So I have to ask more questions.
|| When using this component (a regular dll, not even COM dll),
|| it is crital that we have different communication pipe lines
|| (ports) set up on both sides for each individual call.
That's ok. What protocol are you using, out of interest?
|| In other words, we don't want the calls to share the
|| same port.
Is there a difficulty in selecting ports?
|| Accroding to the 3rd party component's limit,
|| unfortunitly, we can only do this by starting this
|| component in a different process.
I don't understand why, but different processes is ok. That just means
several copies of your program running simultaneously.
|| A different thread just won't do the job.
Any idea why?
|| Not even a different AppDomain.
What do you mean by an AppDomain?
Are you saying that the component can only do one 'pipe line' per
application ? or has some small limit?
How many pipe lines do you need to set up? How many can the component
handle at any one time? Does it need specific ports?
You'll have to have several copies of your program running at the same
time. Have you any idea what they will need to tell each other in order to
work together ?
Hopefully your answers to these questions will lead us towards getting a
solution for you.
Regards,
Fergus