|
-
Sep 2nd, 2011, 02:00 AM
#1
Thread Starter
Fanatic Member
WCF Simultaneous Data Exchange
Hello Guys,
I am writing a small scripting language system. I have an editor which is a win form app developed in VB.NET (2008) and another exe which is an execution program again developed in vb.net 2008.
I have established communication between the two programs through WCF. Things are working great.
There is however, one problem which I need to solve. My editor, using wcf passes a set of text to my other program. The other program is reading that text, remember the wcf channel is still in progress (open). If the other program wants to pass some text back to the calling program then it becomes a problem.
For e.g.
Editor -> GiveMeSomeString():ProcessXYZ() to Executor Program.
Executor Program-> When it reads givemesomestring, it tries to pass string back to editor program even though the channel is open. When it tries to do that the following happens :
- It takes a lot of time.
- If I use threading it takes little less time but still not acceptable.
What can I do to pass value back to calling program even though it's initial request is still in process ?
Thanks,
Cheers,
GR
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|