I’m trying to use LISTSERV’s “API” in PHP. L-Soft calls this TCPGUI, and essentially, you can request data like over Telnet. To do this, I’m using PHP’s TCP socket functions.
Here’s the C code provided by L-Soft:
C: http://www.lsoft.com/manuals/16.0/htmlhelp/advanced%20topics/TCPGUI.html#2334328
I’ve provided the PHP conversion I’m using in my first answer. I hope this helps someone someday.
This is a one command at a time function a colleague wrote. Still wondering if more can be done in terms of flexibility, efficiency, and speed.