Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[NS3] fixing the remains value when updating actions state
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Fri, 2 Sep 2011 15:36:17 +0000 (17:36 +0200)
committerLucas Schnorr <Lucas.Schnorr@imag.fr>
Mon, 5 Sep 2011 09:08:12 +0000 (11:08 +0200)
commitcc5f6ab8af78f2a72cd508a19408e9d367933aae
tree19456321ecb5cabbec3b8f25a75bab8b027622cc
parent610c3c7da1460fd53dd41646ea988a57ad35baf0
[NS3] fixing the remains value when updating actions state

details:
- new method to get the sent bytes of a socket from the NS3 simulator
- before, the remains was always 0 because the send callback buffers all data
src/surf/network_ns3.c
src/surf/ns3/ns3_interface.cc
src/surf/ns3/ns3_interface.h
src/surf/ns3/ns3_simulator.cc
src/surf/ns3/ns3_simulator.h