Skip to content

Port opening  #170

@iankiller77

Description

@iankiller77

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions