Read from Socket for x Items Problem
Posted: Sun Jul 23, 2023 10:27 pm
Hello everyone,
I came up to a strange issue. I’m opening a socket to receive connections and data from a client that connects. The program that sends the data does not have a termination pattern/character/line etc , so I’m trying to read it based on the items it sends that are separated with “;” character.
So I use “Read from socket x for 10 items” but no matter what number I set after “for” I get the same items. Is there a specific way to set the item delimiter on sockets? I tried on the command that reads incoming data to “set the itemdel to “;” but it makes no difference.
I’m Using livecode 10.0 dp4
Thanks in advance.
I came up to a strange issue. I’m opening a socket to receive connections and data from a client that connects. The program that sends the data does not have a termination pattern/character/line etc , so I’m trying to read it based on the items it sends that are separated with “;” character.
So I use “Read from socket x for 10 items” but no matter what number I set after “for” I get the same items. Is there a specific way to set the item delimiter on sockets? I tried on the command that reads incoming data to “set the itemdel to “;” but it makes no difference.
I’m Using livecode 10.0 dp4
Thanks in advance.