0

Hi

Could anyone help me out with the following programs.

1. 'C' code for RS232 null modem connection(pc2pc) using WIN32. Also please let me know how to test on the second PC after transferring data from the first PC.
[details of connection: DB9 connector at both the ends]

2. WINSOCK program in 'C' to transfer data between two PC's.
[details of connection: ethernet cable used between 2 PC's with LAN interface].


Thanks and Regards,
Tejesh

2
Contributors
1
Reply
4
Views
9 Years
Discussion Span
Last Post by Ancient Dragon
0

See this MSDN article -- scroll down the page to the section Communications Resources


>>Also please let me know how to test on the second PC after transferring data from the first PC.
You need to write the software yourself that will run on each PC. On PC #1 write a program that will xmit the information and on PC #2 write a program to receive the data and verify that the data sent is the same as the data received.

You can get ready-made free libraries that do both RS232 serial communication and socket stuff from here. It contains several example programs to illustrate how to use the libraries. Yes, you have to compile the libraries or DLLs with your own compiler. make files have already been generated for the most popular *nix and MS-Windows compilers.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.