hi friends ..
I receive a packet with the function recv ();
I receive with:
recvbuf char [255];
recv (Connect, recvbuf, 255.0);
ok, no problem ..
I Know That the receive function returns -1 (unsuccessful) or n (successful) ..
n is the number of bytes received.
how i read n?
i have the packet wrong because i receive packet + ~ ~ ~ ~
~ That character replace characters in more ..
always change the packet size
attention: i receive a packet encrypted and packet decrypted size don't is packet encrypted size..






