use function pointers for get_iop and send and wait
appmem_pack functions now take pFunc argument instead of pEntry .  In net mode, socket is shared by entry, but it mmap mode it will be specific to the appmem device function