Hi there,
Has anyone got any code for sending, encrypting and receiving a file between two computers using the com ports using C programming language.
Thank you.
Hi there,
Has anyone got any code for sending, encrypting and receiving a file between two computers using the com ports using C programming language.
Thank you.
Communication via the serial port (com port) is OS dependent I believe. What OS are you using? Try googling or searching the board or faq first. I believe you should find your answer
Using XP as the operating system. Basically we have to write the code for sending encryption and receiving in C first then disassemble it into assembly level programming.
That sentence encompasses three large topics:
- Data transfer over a serial line
- Encryption
- Compiling C into assembly
You've said you are using a PC running Windows XP on one end of the transfer, what is on the other end? This sounds like it might be for an embedded application, which would add a fourth wrinkle.
All of them are interesting topics. But you'll get better answers if you break down your question into smaller chunks and give more details.
File transfer between 2 PC's both using Windows XP operating system using the COM ports on both PC's.
Need to code a program that runs on both machines.
1st Program needs to Send file and encrypt it using an algorithm such as XOR encryption.
2nd Program needs to Receive file and Decrypt it, I understand if I use XOR encryption then decryption should be able to use the same code.