Socket buffer size

Shao Sean shaosean at unitz.ca
Fri Feb 1 00:01:01 EST 2002


i don't think you can set it per se, but you can always tell it to wait for
a certain amount of chars (or a sequence of chars)

on readDataFromSocket pSocketPointer
  read from socket pSocketPointer until 20 chars with message "gotData"
end readDataFromSocket

on gotData pSocketPointer, pSocketData
  -- do the processing of your socket here
end gotData

----- Original Message -----
Anyone know of a way to set the socket receive buffer size for REV?





More information about the Use-livecode mailing list