Update applemidi.c

Added support for IPv6 connections.