socket write/read conflict?

Nicolas Cueto niconiko at gmail.com
Tue Mar 23 22:50:24 EDT 2010


A question about something Alex wrote.

-- And thank you, Alex. I'll be trying out what you wrote and see what
happens. As for logging the results, I'd been doing that already, by
having the script put results into a field. Odd thing is, this writing
to a field seemed to have solved the simultaneity problem. Which made
me think that printing the results caused a few milliseconds of delay
that gave the read-write chance to function as expected. But then the
problem reappeared.

Anyway, to my question.

What character should I use when reading/writing over sockets to
indicate the end of a line of trasmitted data? CR? LF? Something else
completely?

Thanks.

--
Nicolas Cueto



More information about the use-livecode mailing list