Posts

Post not yet marked as solved
5 Replies
The user says (and by user , it ia s control file that is read by the controller at startup). It is a range of a 24 hour day. The "master controller", which runs all the time, is looking to see if at any given time, time "now" is between that range. if it is, it then does certain things. In c++, this was converted to an integer (and it was a simple comparasion, just had to handle the rollover at midnight). As I convert to swift/macOS, not as clear cut how to get time now in just a 24 hour time.
Post not yet marked as solved
2 Replies
Ok, thanks. The code I am working on is for a small Mac mini, which has about 40 different devices (Small Single Board Controllers) that connect to it (they come and go), that the server controls. In addition, one other Mac mini connects (another Client), that is controlled (it runs a media setup that is controlled and orcherstrated by the server).
Post not yet marked as solved
3 Replies
Thank you so much. I have a question, I have never used: withExtendedLifetime. When would that make sense to use? Should I do it for all my network conditions (given I always am using tcp (not web services).
Post not yet marked as solved
2 Replies
Thanks. I had the IOKit but not the IOKit.serial