file descriptor, row socket in fdnetdevice (HELP)

17 views
Skip to first unread message

Mohamed Bouti

unread,
Jun 16, 2023, 11:26:18 AM6/16/23
to ns-3-...@googlegroups.com
Hello,👏

 I hope everyone is doing well. I'm currently trying to ping an NS3 node located in laptop one with another laptop, both of them in the same network but using a real wifi interface since it did work with  a real ethernet interface...as i told in a previous question :

How to attach an NS-3 object to a real physical wireless interface

but i'm very much struggling to understand correctly the link between file descriptor, row socket and the real interface in fdnetdevice.

I have found a script called raw-socket-creator that creates a row socket but I'm thinking that it is connected with just an ethernet interface. Maybe this is the rasen that I can't use it with the wifi interface ?    

If you can just guide me so i can know i'm on a good path...or correct my understanding please !🙏🙏🙏

 Below you can find the:
raw-socket-creator.cc
the fd-ping-emu.cc
raw-sock-creator.cc
fd-emu-ping.cc

Mohamed Bouti

unread,
Jun 18, 2023, 8:42:49 AM6/18/23
to ns-3-...@googlegroups.com

---------- Forwarded message ---------
De : Mohamed Bouti <mbou...@gmail.com>
Date: ven. 16 juin 2023 Ă  17:25
Subject: file descriptor, row socket in fdnetdevice (HELP)
To: <ns-3-...@googlegroups.com>
raw-sock-creator.cc
fd-emu-ping.cc
Reply all
Reply to author
Forward
0 new messages