Forum Navigation
Read Lines from a Socket
Posted: 05/24/08 00:25:43I'm writing a network application that will need to read lines of text from a TCP Socket. I'm very unsure of how this should be done, should I have the socket store to a buffer somewhere and somehow pull out one line at a time or... the standard iteration approach that people use with text doesn't really work here...