Hi all
I'm a new user in inet framework and want to use this framework to implement a simple scenario. I have installed inet and i know how to import it to my project but i don't know how to proceed further. I know that this scenario may seems too simple to implement and can be done with a short review of inet document. But i don't have much time to study the document. So please help me and provide me a step-by-step procedure to do the simulation.
The scenario is:
I have 4 nodes, each with a specific IP address.
for example: node1:"10.10.10.10" , node2:"10.10.10.11" , node3:"10.10.10.12" , and node4:"10.10.10.13".
These nodes must be connected to each other using a simple router.
I want to create a simple message with a specific name like the one showed below:
cMessage *msg=new cMessage("my_msg"); (cPacket can be used as well)
Assume that we want to create the above message in node1 and send it to node 2 through the network. node2 receives the message and performs a specific operation. For example, send a message to node3 or to node4 or sends an ack back to node1. All communications in my scenario are under internet protocol (TCP/IP).
Please help me to implement the network and provide me required procedure to do it, such as setting ip addresses, delivering the created packet in node1 to the standard host to send through the network, and every other important steps.