i´m writing a program that sends information from one PC to another, using COM1, with ReadFile() and WriteFile()
but how do I know which port is COM1??
I thought of connecting a cable to a port and maybe there´s a function that can check if something is connected to COM1, it will answer TRUE or FALSE or something...
can someone help??