Reply
Old 03-09-2012, 10:35 AM   #1 (permalink)
 
Status: Junior Member
Posts: 9



Default C programming USB port communication?

Would it be possible to make a small plain C program that could transfer characters from one computer to another computer using a USB cable? I was thinking maybe command prompt? Both computers have command prompt open and one is the receiver the other the sender. You choose which one you want to be in a menu. I'm pretty sure I have the cable just need to look for it. Is there such a thing as a free USB port simulator I could use in the mean time to check if the program works? A working C program would greatly help since I learn best by example but any other help will be greatly appreciated. I have really no idea where to start. How do I open the port, direct chars to it, get them read onto the command prompt, and so on.
Connecting a USB cable from one computer to another will not create a short circuit, correct?

AllFocus is offline   Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial port communication with Visual Basic 2008? Unknown_User Coding 0 09-06-2012 05:06 PM
What defines a "direct communication" between 2 computers ? for UDP (or TCP ) communication ? Wishy Computer Programming 1 06-01-2012 05:06 PM
Communication between different programming languages? Unknown_User Programming Languages 2 05-12-2012 11:36 AM
why do programs use port ranges? and what happens if a port is blocked in a port range?.? Unknown_User Code/ codes 1 12-22-2011 02:06 PM
How to read data of electronic instrument having RS232 / RS485 port for communication with computer Nibcyclelob Coding 0 06-01-2011 10:06 AM