Questions tagged [inet]

INET Framework for OMNeT++ to simulate network communications.

INET Framework is an open-source OMNeT++ model suite for simulating wired, wireless and mobile networks.

INET contains models for the Internet stack (TCP, UDP, IPv4, IPv6, OSPF, BGP, etc.), wired and wireless link layer protocols (Ethernet, PPP, IEEE 802.11, etc), support for mobility, MANET protocols, DiffServ, MPLS with LDP and RSVP-TE signalling, several application models, and many other protocols and components.

620 questions
-1
votes
1 answer

String is always + 1 in length when it is entered in with the keyboard rather than set as a value in code

So I am trying to write a program that will return the ip address of an entered domain name. The program is much bigger than that but it is this specific functionality that is not working. After hours and hours of testing why the inet_ntoa was…
-1
votes
1 answer

How do i add parameters to a packet and retrieve them?

So i have been successful in my previous packet issues. However i now want to add parameters to my packet and retrieve them. Right now, my code is Packet *pk = new Packet(msgName); const auto& payload = makeShared(); payload ->…
kwkwkw
  • 66
  • 6
-1
votes
3 answers

C: inet_ntop return value position?

I am reviewing the inet_ntop documentation. Typically, string builder operations in C return either a pointer to the end of the string, or an integer indicating the length of the string written. The documentation of inet_ntop states quite…
Chris
  • 28,822
  • 27
  • 83
  • 158
-1
votes
1 answer

Duplicate (copy) a project from INET and paste it in omnet

Hi everyone, I want to edit one of the Inet project based on my need. But I do not want to change the original project in Inet. However, when I copied and pasted under samples folder in omnet, it did not work. Is anyone know how can I do…
Mahdi
  • 1
  • 1
-1
votes
2 answers

Omnet++ Adding functionalities to handleMessage in my class

I have this error trying to inherit handlemessage in my queue class (GateDropTailQueue) which is inheriting from DropTailQueue which in turn is inheriting from PassiveQueueBase. class INET_API GateDropTailQueue: public DropTailQueue { private: …
Mour_Ka
  • 270
  • 1
  • 15
-1
votes
2 answers

Local Storage in Omnet++

Is there a local storage in Omnet++.A storage where I could save some data. I don't want to use a database like MySQL or Oracle for the same purpose. Any help is appreciated.
-1
votes
1 answer

how to import packages in omnetpp?

I downloaded the INET library from the following link : https://inet.omnetpp.org/Download.html and now I am trying to use INET modules in my project. I imported the INET project and then i am importing the packages but they are giving me errors. Can…
Sara Hamad
  • 645
  • 1
  • 6
  • 12
-2
votes
1 answer

Broadcast a message on Inet 4.4.0

I work with INET4.4.0, and I would like to send a broadcast message to all nodes in the network. For this, I tried to add this instruction in the omnetpp.ini file: *.host.networkLayer.ip.forceBroadcast = true but INET does not recognize this…
-2
votes
1 answer

How to send a message from node A to node B and then receive another msg from node B to node A in OMNET++?

How to send a message from node A to node B and then receive another msg from node B to node A in OMNET++ ?
-2
votes
2 answers

What's the reason of "IPv6 feasure disabled error" while building INET 4.1.2 in WSL Ubuntu

When building INET 4.1.2 in omnet++ 5.5.1 in WSL Ubuntu, building error occurs as shown below, with #error "IPv6 feature disabled" . However, building the same package in window environment makes no error. What could be the reason of the building…
-2
votes
1 answer

Topology change: star to hierachical?

I'm not familiar with omnet and adhoc network. I have investigated many papers, theses, books and tutorials (ex: Tictoc, inet framework..). Therefore, I worry that this work has been for a long time. Now I have to simulate the different topology…
-2
votes
1 answer

Simulation in Omnetpp

I used Inet Framework and when I run the simulation it shows the following error. It says: Error in module (inet::physicallayer::Radio)Inett.hostA.wlan[0].radio (id=34) during network initialization: Module not found on path 'radioMedium' define by…
ppokh
  • 11
  • 2
-2
votes
2 answers

veins 4 alpha 2 download

Good morning everybody, I'm working on my thesis according to which I should compare results got with both VANET communications (Veins) and D2D communications (simuLTE). In order to run these simulations I need all the following tools running…
FMA
  • 33
  • 1
  • 7
-3
votes
1 answer

No code runs after a read or a write in socket programming in c

I am making a server client program in c. The server starts first waits for the client then the client "connects". after the client connects it waits for input from the user while the server is running read() to get that input from the client. Here…
-3
votes
1 answer

Implement a routing protocol in omnet

I am a newbie in Omnet++/inet and trying to write a simple routing algorithm (using C++) and implement it in my Omnet++ Project. any idea on what is the best practice on how to get start with this? any simple examples that can help me would be…
Dalia Adly
  • 53
  • 6
1 2 3
41
42