signetlabdei / quic-ns-3

QUIC implementation for ns-3
GNU General Public License v2.0
44 stars 17 forks source link

echoServer’ was not declared in this scope #8

Closed rezapoorzare closed 4 years ago

rezapoorzare commented 4 years ago

Hi,

Recently, I have installed NS-3-dev and I cloned quic module into contrib folder. When I am trying to use ./waf --run to run the .cc files after copying them into the scratch folder only quic-variants-comparison-bulksend.cc file works and the others fail to be performed. For example, when I am trying to run quic-tester.cc file I get this error: /scratch/quic-tester.cc:99:37: error: ‘echoServer’ was not declared in this scope Would you please help me to solve this problem? Many Thanks

mychele commented 4 years ago

You can find them in the src/applications folder of this repo. Until we fix this, you can clone and use this repo (which comes with the full ns-3) or add the files to your application folder (and relative wscript). Thanks! Michele

rezapoorzare commented 4 years ago

Dear Michele,

Thank you so much because of your responce. you mean adding quic-client.cc , quic-echo-client.cc, quic-echo-server.cc, quic-server.cc, quic-client.h, quic-echo-client.h, quic-echo-server.h and quic-server.h files to the src/application/ model and adding these line " 'model/quic-client.h', 'model/quic-echo-client.h', 'model/quic-echo-server.h', 'model/quic-server.h', 'model/quic-client.cc', 'model/quic-echo-client.cc', 'model/quic-echo-server.cc', 'model/quic-server.cc', to wscript? if yes I did them but again I am getting the same error. Thanks

rezapoorzare commented 4 years ago

I forgot helpers!! Really sorry.

mychele commented 4 years ago

Ok great!

rezapoorzare commented 4 years ago

Dear Michele,

Finally! I could run the files. Thank you so much, it was very helpful.

I have another question: is it possible to run quic over ns3mmWave module?

Thanks a million

mychele commented 4 years ago

Yes, you can install it in the same way and it should work. In case, you'll need to update the internet module.

Il giorno dom 22 mar 2020 alle ore 15:05 Reza Poorzare < notifications@github.com> ha scritto:

Dear Michele,

Finally! I could run the files. Thank you so much, it was very helpful.

I have another question: is it possible to run quic over ns3mmWave module?

Thanks a million

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/signetlabdei/quic-ns-3/issues/8#issuecomment-602256278, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWVXZO2HAEHDYFPJN4UTT3RIZOOFANCNFSM4LRKACSA .

-- Michele Polese

Research Scientist Institute for the Wireless Internet of Things Northeastern University, Boston, MA

email: michele@polese.io web: polese.io - mmwave.dei.unipd.it

rezapoorzare commented 4 years ago

Dear Michele,

Thanks a lot. I intend to do that if I have any problems I will count on you.

Many Thanks

rezapoorzare commented 4 years ago

Dear Michele,

I am sorry for taking your time. I am trying to enable 0-RTT in QUICand using this command:

Config::SetDefault ("ns3::QuicL4Protocol::0RTT-Handshake", BooleanValue (true));

However, I get this error: aborted. cond="!IsVersionSupported (m_vers)", msg="0RTT Handshake requested with wrong Initial Version", file=../src/quic/model/quic-socket-base.cc, line=2530 terminate called without an active exception

Could you please help me to solve this problem?

Many Thanks