Sending Encrypted message between client and server

Pons

New member
Joined
Aug 20, 2004
Messages
4
Programming Experience
3-5
Hi,

I am doing a chat application and i am sending the encrypted message from client to server using the encoding method - "Encoding.UTF8".
In server, when it receives the message from the socket, it reads the message partially (it misses some of the charecters at the end of the string). But the received message length is correct.
If i send the message without encryption, then it works fine.
can anyone help me to solve this issue?

Thanks in Advance.
 

sampoo

Active member
Joined
Jun 12, 2004
Messages
25
Location
Belgium
Programming Experience
3-5
UTF-8 is not really an encryption... It's just a unicode format.

Maybe giving some of your code might be useful, cause I (and perhaps many others) don't really know what could be the cause, if we don't know what your code does...:)
 
Top Bottom