The original reference implementation of the RTP-MIDI protocol (originally specified in RFC4695 - now updated to RFC6295) from the guys who developed it is available as part of an older version of their sfront software.
A more up to date implementation is available in the Java based nmj library, which apparently works with iOS: http://www.humatic.de/htools/nmj
There is also the interesting scenic project that contains Python based rtpmidi support (from which the now discontinued midistream Debian package was derived). In the Scenic source tree the actual midistream python application is here scenic/py/scripts/midistream.in, and the associated library may be found here: scenic/py/rtpmidi
It is also possible to use JACK to send MIDI but you need to run JACK on all machines (so for iOS you'll need an app that supports JACK).
Some more Windows based software (free but not open source): http://www.tobias-erichsen.de/software.html