rwaldron/particle-io

Flip the polarity of data connection

voodootikigod opened this issue · 2 comments

Due to the following issues:

  • Connection retries
  • Address confusion
  • Server setup requirement
  • Firewall concerns

It is recommended to switch the polarity of the local spark communication from:

TCP server being on the host computer and TCP client being on the Spark

to:

TCP server being on the Spark and TCP client being on the Host Computer

This will allow the host computer to control retries/reconnects, not have to worry about firewalls (Spark doesn't have a firewall as best I can tell), or multiple network interfaces. This will make the code base for spark-io significantly easier. Pull request coming soon (today).

👍

I believe this can be closed.