• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

Inter-process Commuinication (IPC) component or quick solution

I'm running Borland Builder 6 (BCB6) and was wondering if there is a good IPC component out there.  I'm just sending ASCII back and forth, but I need something quick and reliable.
Thanks
0
Vision
Asked:
Vision
  • 5
  • 4
1 Solution
 
George TokasCommented:
The best for this In My Hamble Oppinion especially when you send ASCII is to communicate via TServer/TClient sockets...
The nonBlockinf operation is multithreaded and the only thing you have to do is a handle at OnRead... You can send from wherever in your project if you have connection...

George Tokas.
0
 
VisionAuthor Commented:
I need two way communication, I'll go look at the socket stuff now.
Which set is that from?  The fastnet?
0
 
George TokasCommented:
>>I need two way communication, I'll go look at the socket stuff now.
You will have 2 way... But one application must have the TServerSocket...
>>Which set is that from?  The fastnet?
Internet Tab...

George Tokas.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
George TokasCommented:
Check out the chat example at:
(BCBDirectory)\Examples\Internet\Chat
You will get the idea...
George Tokas.
0
 
VisionAuthor Commented:
Okay, I'm looking it over.

One quick question, if the server isn't running the client creates a Debugger Exception Notification 'Asynchronous socket error 10061'.
Is there  a way to turn that off?  I'm assuming it doesn't show anything for the final build, but I just want it to fail, not throw an exception.
Thanks
0
 
George TokasCommented:
>>if the server isn't running the client creates a Debugger Exception Notification 'Asynchronous socket error 10061'.
Yes...
If you have only 2 applications in your project then you can have both TServer and TClient on each project..
On startup if the client didn't find the server then the server opens...
Same to the other...

George Tokas.
0
 
George TokasCommented:
You can block that message from appearing by writing at OnError handler of the TClient component...
Check out online help...

George Tokas.
0
 
VisionAuthor Commented:
Yeah, just needed to reset the ErrorCode on the OnError handler.  Thanks, I think I'm about there.
0
 
VisionAuthor Commented:
Your answer was great, once I started tracking down what it did, it was perfect.

Thanks for the help, I've been going nutty the past few days over this.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now