- Timestamp:
- Oct 27, 2011, 9:59:48 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110906/Ohana/src/opihi/lib.shell/multicommand.c
r27435 r32569 13 13 void multicommand_InitServer () { 14 14 15 char hostname[256], PASSWORD[256] ;15 char hostname[256], PASSWORD[256], portinfo[256]; 16 16 17 17 if (server != 0) { … … 27 27 } 28 28 29 /* is a port range defined? otherwise use the default */ 30 memset (portinfo, 0, 256); 31 VarConfig ("PANTASKS_SERVER_PORT", "%s", portinfo); 32 29 33 /* attempt to connect to the server */ 30 server = GetClientSocket (hostname );34 server = GetClientSocket (hostname, portinfo); 31 35 32 36 /* here we can perform the security handshaking */
Note:
See TracChangeset
for help on using the changeset viewer.
