Page 3 of 3

Re: IP Ping

Posted: Fri Jun 02, 2017 3:41 pm
by Martin_Head
Giorgio Garabello wrote:I have a question: is it not possible that PSERVE when it receives a request, does it want to retrieve system date and time and return them instead of a default string?
I have done a quick patch. If you supply an empty string to the ping server e.g. PSERVE "" It will return the current date and time when pinged. I've only done a quick test, but it seemed to be OK. Is this what you wanted?

Martin

Edit: Just added the source code and updated manuals for version 1.02

Re: IP Ping

Posted: Mon Jun 05, 2017 7:37 am
by Giorgio Garabello
Martin_Head wrote:
Giorgio Garabello wrote:I have a question: is it not possible that PSERVE when it receives a request, does it want to retrieve system date and time and return them instead of a default string?
I have done a quick patch. If you supply an empty string to the ping server e.g. PSERVE "" It will return the current date and time when pinged. I've only done a quick test, but it seemed to be OK. Is this what you wanted?

Martin
Yes!
many thanks!