|
-
Nov 27th, 2002, 10:06 AM
#1
Thread Starter
Member
strings and sockets
i have a client server program
the client gets a username and then converts it to a unicode byte array with it then sends throguth a socket
at the server side it
converts the bite array back to a unicode string
then compares it with the structure of usernames, but it always failes
when looking at both strings in the watch window both apper identical, however when i check the lenght one is 5 one is 128.
i have tried trimming the string but i still cannot get rid of the extra stuff
how do i do it??
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
|