add io function and ip multiplex test programs