![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 | |
|
Programmer
Join Date: Mar 2006
Posts: 40
Rep Power: 0
![]() |
Passing encrypted string through socket, weird behavior?
I am writing a client/server application, which involves the Blowfish cipher.
I have a problem, when I send encrypted data from the client to the server... It takes the content and reads up to a certain point then truncates it, sending the remaining data to another file. The data is: Quote:
ls -lastrb indicates there is a special character on this filename: 7.W6NIF.\012 Questions: 1) Is there a way in C++ to force the read of strings as literal, instead of being "processed". 2) Is there some character code that caused the split? The buffers appear to be fine. Why split at this position? 3) Why is there a \012 on the filename of the unwanted file? |
|
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C# corruption!!! | Kilo | C++ | 32 | May 21st, 2006 9:44 PM |
| Need help with a JSP login site | Dark95 | Java | 3 | Apr 11th, 2006 3:01 PM |
| Array issues :( | Alo Tsum | Java | 10 | Nov 26th, 2005 6:45 PM |
| Strongly encrypted stream protocol | Arevos | Existing Project Development | 5 | Oct 30th, 2005 3:39 PM |
| replace space with ' * ' | TecBrain | C++ | 15 | Apr 13th, 2005 1:32 PM |