Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[NS3] fixing the remains value when updating actions state
[simgrid.git] / src / surf / ns3 / ns3_interface.cc
index 7607bdc..b0f57d2 100644 (file)
@@ -55,6 +55,10 @@ double ns3_get_socket_remains(void *socket){
                return ns3_sim->get_remains_from_socket(socket);
 }
 
+double ns3_get_socket_sent(void *socket){
+  return ns3_sim->get_sent_from_socket(socket);
+}
+
 double ns3_get_socket_last_amount_sent(void *socket){
        return ns3_sim->get_last_amount_sent_from_socket(socket);
 }