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?