Computer Science Canada

net

Author:  bst [ 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?

Author:  StarGateSG-1 [ Tue May 17, 2005 10:29 am ]
Post subject: 

Take a look in the tutorial section.

Author:  Tony [ Tue May 17, 2005 11:56 am ]
Post subject: 

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

Turing:

get: stream, line:*

or something..


: