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

Username:   Password: 
 RegisterRegister   
 net
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
bst




PostPosted: Mon May 16, 2005 9:05 pm   Post subject: net

How can I transfer a line of text over a net connection like a sentence and have the spaces in between show up properly? I have a program now that transfers text using Net.LineAvailable and i also tried Net.TokenAvailable because I think it might have something to do with the problem. My problem is that whenever I send a line of text over the connection, it shows up on the next line whenever there should be a space. I dont have the code available at the moment. How can I work around this?
Sponsor
Sponsor
Sponsor
sponsor
StarGateSG-1




PostPosted: Tue May 17, 2005 10:29 am   Post subject: (No subject)

Take a look in the tutorial section.
Tony




PostPosted: Tue May 17, 2005 11:56 am   Post subject: (No subject)

you're reading your stream one word at a time, you should read the entire line.

Turing:

get: stream, line:*

or something..
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  [ 3 Posts ]
Jump to:   


Style:  
Search: