user2241980
user2241980

Reputation:

Communication between Processing and C# app?

I would like to pass an object from a C# application to be processed? How may I accomplish this task?

Upvotes: 0

Views: 98

Answers (2)

Dave New
Dave New

Reputation: 40002

You might want to implement a queue of some sort. Reasons:

  • This ensures that your objects can queue up while processing occurs.
  • If the processor is down, you don't lose any submitted objects as they will wait in the queue.
  • Decouples your C# application and your processing service (or whatever it may be)

The type of queue you need depends on your environment. Here are two good options:

Upvotes: 1

CloudyMarble
CloudyMarble

Reputation: 37566

Create a socket and pass the data over TCP using the Network library

Upvotes: 2

Related Questions