So, I got this program running on my mac, ipMidi, that allows me to send midi events through my ethernet connection. It works under UDP protocol and is sending midi from my Ableton Live daw. I'm trying to read, in the same machine that is running ipMidi, the packages from ipMidi into my C++ program, but I can't figure out how to do this. I've been doing research for some time know and I just can't figure out how to get the ipMidi to send the packages to my local host or to sniff the packages going through my ethernet. One of the tools that I found out was route, but I can't manage to duplicate the ip table entry to send the packages to my listening UDP program. Other way that I find to do this was to make my program join a multicast group on the kernel i n the destination ip and port from the destination package I sniffed from ipMidi with wireshark, but this isn't possible cause the bind tells me that the address is being used. So I really could use some help on this.
There's no code, I know, but is more like a theoretical thing than and implementation problem.
Hope I explained myself clearly, my english isn't the best.
Thanks for your time.