Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Net Chat idea!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
WooFerPPK




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Dec 03, 2002 7:06 pm   Post subject: (No 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: