Index: trunk/Ohana/src/opihi/lib.shell/multicommand.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/multicommand.c	(revision 27435)
+++ trunk/Ohana/src/opihi/lib.shell/multicommand.c	(revision 32632)
@@ -13,5 +13,5 @@
 void multicommand_InitServer () {
 
-  char hostname[256], PASSWORD[256];
+  char hostname[256], PASSWORD[256], portinfo[256];
 
   if (server != 0) {
@@ -27,6 +27,10 @@
   }
 
+  /* is a port range defined? otherwise use the default */
+  memset (portinfo, 0, 256);
+  VarConfig ("PANTASKS_SERVER_PORT", "%s", portinfo);
+
   /* attempt to connect to the server */
-  server = GetClientSocket (hostname);
+  server = GetClientSocket (hostname, portinfo);
 
   /* here we can perform the security handshaking */
