Computer Science Canada

Net Chat idea!

Author:  WooFerPPK [ Tue Dec 03, 2002 6:22 pm ]
Post subject:  Net Chat idea!

i noticed with your program of netchat when you type each letter is sent 1 by 1 to the next computer.

What would happen if you did it Email style. Instead of 1 by 1, you type in the sentence and send it. Then the other user would fully recive the sent sentence. is that posiable with turing? My friend in class should me a net program that he claims he made that does what your program does except it sends the sentence fully.

Author:  Tony [ Tue Dec 03, 2002 7:06 pm ]
Post subject: 

ya, its possible

code:
If Net.LineAvailable(NetStream) then
var line:string
get : NetStream, line:* %<--
put line
end if


the :* tells it to read the whole line.


: