I am just starting to try to do a project. I took a year of CS (taught on C++) in college back in the 90s, did pretty well at it but never kept up after that, so I'm very rusty.
I'm not asking for anyone to write this for me...
...but I'd really appreciate a little guidance about what keywords I need to be searching for in order to learn how to do this.
Situation: I have a Linux server (ultimately this will be my Synology, but in the meantime it's a VM so can be anything you recommend - currently Ubuntu 12.04 Desktop) with Apache, MySQL, and PHP installed (as well as phpMyAdmin). I am installing an Envisalink 3 interface to my home security system, which will essentially set up a telnet server on a high port that will pretend to be an RS232 port to the alarm system. Commands are to be issued as fairly short (mostly 10 bytes or less) strings, and I need to be able to process the output.
So: I need to have a program that attaches to the Envisalink to do two-way communication with it via telnet protocol. I want the commands to come from a PHP web page. I want the output to go to a log file that a PHP web page can read. I want to process any incoming data immediately and potentially generate other actions (e.g., notifications to me or my wife) if appropriate. What do I need to read up on in order to do this?
I'm not asking for anyone to write this for me...
...but I'd really appreciate a little guidance about what keywords I need to be searching for in order to learn how to do this.
Situation: I have a Linux server (ultimately this will be my Synology, but in the meantime it's a VM so can be anything you recommend - currently Ubuntu 12.04 Desktop) with Apache, MySQL, and PHP installed (as well as phpMyAdmin). I am installing an Envisalink 3 interface to my home security system, which will essentially set up a telnet server on a high port that will pretend to be an RS232 port to the alarm system. Commands are to be issued as fairly short (mostly 10 bytes or less) strings, and I need to be able to process the output.
So: I need to have a program that attaches to the Envisalink to do two-way communication with it via telnet protocol. I want the commands to come from a PHP web page. I want the output to go to a log file that a PHP web page can read. I want to process any incoming data immediately and potentially generate other actions (e.g., notifications to me or my wife) if appropriate. What do I need to read up on in order to do this?