use argc and argv to set port count. for example: ./test 8 12 8 12
so that fcpiport=8 and iscsiiport=12