-
Notifications
You must be signed in to change notification settings - Fork 299
Description
I have a quite simple question. I have been messing around RtMidi a lot and I am afraid of syncing issues. I often have to close/open port and right now I simply created a class that keep watching port names and port numbers to keep them synched together.
It's really unlikely to happen, but has I opened the port, if the ports change at the moment I get the right port number, I will bind my data to the wrong port having the old portname set as blocked but having the second one opened. (It never happened to me yet, but it seems tehoricly possible)
I was wondering if it was possible to open ports according to port name instead of port number as they are a lot more reliable. (I don't think any exploitation system permit having 2 ports with the same name)
PS : Sorry for my bad English.