First Question would be with regards to passing a file thru a serial port. THe issue I am having is that I don't really know of nor have any error checking if it gets interrupted, I am half thinking of taking the file size initially sending the size to the other side of the connection, processing the file, then checking to make sure the size is same on the other end. Is there any built in routine to handle a serial communication if its broken so I can toss a screen up half way thru and say "Oi, connection broken" or something to that extent.

Next question

Would anyone know of what the api call is to retrive whatever com ports are currently open on the computer? I understand this is probably a bit "detailed" so if you would also know of a url I could scope out it would be greatly appreciated.

Just about out of questions right now, have a great morning