I would like to implement a platform independent way of processing MAME's output notifiers, i.e. via "mame -output network ..." as a replacement for the no-longer-working FIFO approach (which was for SDLMAME only anyway).
However, there's no way to modify/overwrite the port that's being used. It's fixed to 8000 at the moment, so a second emulator instance fails with "bind(): address already in use".
Is there a plan to change this? If not, would a pull request introducing an option for it be accepted?
An alternative would be to use the console as in "mame -output console", but the problem with this is that there's no direct way to tell which output is a notifier and which is "normal output to stdout or stderr" (i.e. when using -verbose, but even w/o).
Notifiers are always in the form of "<notifier> = <value>\n", so that's probably a valid pattern to find out, but can I be 100% sure? If not, could there be some prefix added to make it identifiable? For example something like "[output] led0 = 1" instead of just "led0 = 1"? Again, I could create a pull request if needed and accepted.