|
-
January 28th, 2009, 11:12 AM
#1
Unknown data size - Socket proggramming
Hello,
How can I use an unknown buffer size to store bytes which sended through a socket? [the buffer will fit itself according to the length of the data]
Currently, I am using a big byte array, but a lot of memory is wasted because most of the time there is no need for such a big buffer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|