[Xitami] LRWP problem (no more)

B.P. thingieStuff at gamebox.net
Fri Apr 6 20:56:59 CEST 2007


My bad. I stumbled upon the testlrwp.pl file in an old Xitami install (in
the addons directory) and tested it with no problem. It appears my problem
has nothing to do with the Xitami LRWP agent but rather with my own lackings
about how the <> operator works in PERL. <> reads in data up to the input
record separator ($/), which is usually \n or \r\n. Because communications
between a LRWP programme and the LRWP agent don't use any string terminator
character, I assume my script waited indefinitely for a \n to show up on the
socket after receiving the status message (OK or ERROR...). That's why the
Xitami team used sysread instead, in the LRWP test file.

All is well, then. Have a nice day, people.

Bruno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.imatix.org/pipermail/xitami/attachments/20070406/e7bd5c6c/attachment.htm


More information about the Xitami mailing list