Index: branches/fep_rpc_client/FEPClient.cpp
===================================================================
--- branches/fep_rpc_client/FEPClient.cpp	(revision 77)
+++ branches/fep_rpc_client/FEPClient.cpp	(revision 78)
@@ -87,10 +87,9 @@
 
 		/* for each LDS in the Line.... (constructs the short_answer message) */
-		for (j = 0; j < lines.at(i).ldsNum; j++)
+		for (j = 0; j < lines.at(i).lds.size(); j++)
 		{
-                    cout << "Station num " << j << endl;
 			fep_shortanswer fsa;
-			int index = lines.at(i).ldsIndex[j];
-
+			int index = lines.at(i).ldsIndex.at(j);
+                        cout << "LDS index: " << index << endl;
 			// msg: oa, od, ldsMap.at(index).dataPack, od, ff
 			fsa.msg.message_len = ldsMap.at(index).length + 2;
@@ -136,5 +135,5 @@
 	/* Create RPC Client to communicate with ATMS */
 	cout << "Creating RPC Client" << endl;
-	clnt = clnt_create(host, 100090, /*103121,*/ 32, "tcp");
+	clnt = clnt_create(host, /*100090,*/ 103121, 32, "tcp");
         cout << "Client created" << endl;
 	/* Check if client creation failed */
