HEllo all, I need to declare a buffer that stores an incoming message over the network from a server. The problem is, I dont know the length of this message. I declare my buffer as char buf for example. So right now, I read the message until the buffer gets full, and then write the contents of the buffer to a file and so on. There is an I/O involved everytime the buffer gets full. What I;d like to do is to have some sort of infinite buffer, that would store all the message. Then I can use just one I/O to write contents of buffer into a file. Is this possible to do? Thanks.