Oh my
I dint want to stream anything.
i meantr Blitz <-> Blitz application
WritebyteS() is the safest way.. but one have to be carefull. streaming dosent work good at all :D
after 8k tcp engine stalls program.
i found that readline sometimes this hapends.
1) Sending Line1
2) Sedning Line 2
....
here comse internet Clown...
...
3) Clients computer detects data on stream. change the readavail() .. but its no good the data is Line2..
4) Blitzy program reads the readavail() ahaaa data has arrived. lets readLine1
5) What !! no data from line 1.. (Its casuse line 2 has triggered the readavail)
6) Well then lets Delay program for a while :D
7) Line 1 is finial recived.
8) CLient read line1 finaly.
So to overcome above error with the readavail() i recomend to use tcp careful. Try not to send to many Writelines at one time. Specialy if its a server you writing.
I dint want to stream anything.
i meantr Blitz <-> Blitz application
WritebyteS() is the safest way.. but one have to be carefull. streaming dosent work good at all :D
after 8k tcp engine stalls program.
i found that readline sometimes this hapends.
1) Sending Line1
2) Sedning Line 2
....
here comse internet Clown...
...
3) Clients computer detects data on stream. change the readavail() .. but its no good the data is Line2..
4) Blitzy program reads the readavail() ahaaa data has arrived. lets readLine1
5) What !! no data from line 1.. (Its casuse line 2 has triggered the readavail)
6) Well then lets Delay program for a while :D
7) Line 1 is finial recived.
8) CLient read line1 finaly.
So to overcome above error with the readavail() i recomend to use tcp careful. Try not to send to many Writelines at one time. Specialy if its a server you writing.