M
Mike Mimic
Hi!
I am programming small program which would use its own
text based network protocol. I come to the problem with
ending lines. I was thinking about ending them with \r\n
combination. But the problem is that I would like that
program would be tolerant to other endings (only \r or \n).
So the question is if there is some efficient way to
implement this? Is there some library which would do this?
It should be platform independent.
Mike
I am programming small program which would use its own
text based network protocol. I come to the problem with
ending lines. I was thinking about ending them with \r\n
combination. But the problem is that I would like that
program would be tolerant to other endings (only \r or \n).
So the question is if there is some efficient way to
implement this? Is there some library which would do this?
It should be platform independent.
Mike