On windows, the easiest way is trying to open COM1, COM2 in sequence and see whether open succeeded.
If you'll enumerate more than 10 ports, you should name them as \\.\COM10file://./COM10 etc.
From: Boost-users
On windows, the easiest way is trying to open COM1, COM2 in sequence and see whether open succeeded.
If you'll enumerate more than 10 ports, you should name them as \\.\COM10file://./COM10 etc.
From: Boost-users