Reply To: Routing vs. Using Sockets

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Routing vs. Using Sockets Reply To: Routing vs. Using Sockets

#59390
Scott Lee
Participant

    Jeremy,

    If I understand correctly what you are describing, it is something that I do here….

    In addition to the socket connection between two threads in different processes I will also add a ‘dummy’ route between the two threads.  This second route will never carry any messages since it points from an outbound thread to an inbound thread but it adds an arrow in the netconfig and netmonitor screens between the two threads.  This gives me a much better visual on where messages are being routed, even though they aren’t technically ‘routed across the arrow’.  It is a visual reminder for myself and anyone else looking at the netconfig that there is data passing in that direction.  It is strictly for display purposes since the socket route does not show on the screen.

    Also, just so I don’t get confused as to the purpose of this ‘dummy’ routing, the name of the route is actually ‘dummy’.

    Scott