iguanaworks / iguanair

Iguanaworks USB IR Project: firmware and software
http://www.iguanaworks.net
23 stars 12 forks source link

support TCP ports #1

Open IguanaBen opened 9 years ago

IguanaBen commented 9 years ago

Reported by bluey on 8 Oct 2007 03:14 UTC Be nice to use TCP for communication with the service, allowing for remote access and easier porting of the daemon to windows. First step would be to make socketName only accessible to the daemon, and provide an API for clients to connect and request a mapping to a port based on a request string. Ideally, in the future we would support both unix sockets and tcp sockets, and possible windows named pipes.

Well, we now can handle windows named pipes, and given another implementation of pipes.h we could probably support TCP without a problem. That requires a couple changes though. Specifically, we would need to create a struct with function pointers that would be loaded at start time so we could listen on multiple interfaces at the same time.

jdunn14 commented 7 years ago

I've looked into the gory details of this and can say that although its not as simple as hoped, we will support it in a coming release.