Code: Select all
write WAVSEND to socket FILESERVER with message "DoneSending"
Many Thanks,
Matthew.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
write WAVSEND to socket FILESERVER with message "DoneSending"
Code: Select all
write "chunk" & chunk1 & {end} into socket theSocket with message "DoneSending"
write "chunk" & chunk2 & {end} into socket theSocket with message "DoneSending"
write "chunk" & chunk3 & {end} into socket theSocket with message "DoneSending"
write "chunk" & chunk4 & {end} into socket theSocket with message "DoneSending"
write "theEnd" into socket theSocket with message "DoneSending"
Code: Select all
on DoneSending theSocket , theMSG
if theMSG contains "theEnd" then
write "Finished!" to socket theSocket
else
replace "{end}" with "" in theMSG
put theMSG after theWholeMSG
read from socket theSocket untill "{end}"
end if
end DoneSending