Changeset 78 in tmcsimulator for branches/fep_rpc_client/FEPClient.cpp
- Timestamp:
- 10/01/2017 05:50:44 PM (9 years ago)
- File:
-
- 1 edited
-
branches/fep_rpc_client/FEPClient.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/fep_rpc_client/FEPClient.cpp
r77 r78 87 87 88 88 /* for each LDS in the Line.... (constructs the short_answer message) */ 89 for (j = 0; j < lines.at(i).lds Num; j++)89 for (j = 0; j < lines.at(i).lds.size(); j++) 90 90 { 91 cout << "Station num " << j << endl;92 91 fep_shortanswer fsa; 93 int index = lines.at(i).ldsIndex [j];94 92 int index = lines.at(i).ldsIndex.at(j); 93 cout << "LDS index: " << index << endl; 95 94 // msg: oa, od, ldsMap.at(index).dataPack, od, ff 96 95 fsa.msg.message_len = ldsMap.at(index).length + 2; … … 136 135 /* Create RPC Client to communicate with ATMS */ 137 136 cout << "Creating RPC Client" << endl; 138 clnt = clnt_create(host, 100090, /*103121,*/32, "tcp");137 clnt = clnt_create(host, /*100090,*/ 103121, 32, "tcp"); 139 138 cout << "Client created" << endl; 140 139 /* Check if client creation failed */
Note: See TracChangeset
for help on using the changeset viewer.
