Thanks, but i figured it out:
(in C#.net just to irritate you VB bigot)
Code:
buffer= client.Receive...
string endresult = "";
foreach (byte databit in buffer)
{
endresult+=((buffer==0)?"":((char)databit).ToString());//I love () to make sure thigs execute as i want (as well as ; semicolins;)
}
textBox1.Text+="\n"+endresult;
the problem is it was sending something like this:
?hs\0546d\0jos\0MYDATAHERE\0jsfjnn\0
and it cut off after the \0 (or null (buffer = 0) (Nothing for you VB bigot))
i just had to set a breakpoint, see the data, and realize what was happening (the string was being chopped up!);