|
-
August 26th, 2009, 01:51 PM
#11
Re: get command problem...
I understand then that the method i've been using leads me nowhere. But what do you mean by 2) ?? I use this usually char buffer[100] but i can read it into a string anyway with this:
Code:
read(Sock,(char*)&string,len,0)
No?
Besides it isn't really solving my problem with get. If i cannot do that, what should i do. I've tried to append it and then use string(appended,from,until) which gives the exact same error.
Also, would using Constant array's also cause a memory leak? (e.g. buffer[100]) would i need to use delete on that too?
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
|