.... How to Find Your Subject Study Group & Join ....   .... Find Your Subject Study Group & Join ....  

We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Study Groups By Subject code Wise (Click Below on your university link & Join Your Subject Group)

[ + VU Study Groups Subject Code Wise ]  [ + COMSATS Virtual Campus Study Groups Subject Code Wise ]

Looking For Something at vustudents.ning.com? Search Here

Me computer1 se computer2(Server) ko msg send kr raha hu or chahta hu k computer2(Server) us ka reply msg1 ki jagha Ack1 kry how it possible. 


#include <string.h>
#include <omnetpp.h>

using namespace omnetpp;
class computer : public cSimpleModule
// The following redefined virtual function holds the algorithm.
virtual void initialize() override;
virtual void handleMessage(cMessage *msg) override;


void computer::initialize()

if (strcmp("computer1", getName()) == 0) {

cMessage *msg = new cMessage("Msg1");
send(msg, "out");

void computer::handleMessage(cMessage *msg)

send(msg, "out");

Share This With Friends......

How to Find Your Subject Study Group & Join.

Find Your Subject Study Group & Join.

+ Click Here To Join also Our facebook study Group.

This Content Originally Published by a member of VU Students.

+ Prohibited Content On Site + Report a violation + Report an Issue

+ Safety Guidelines for New + Site FAQ & Rules + Safety Matters

+ Important for All Members Take a Look + Online Safety

Views: 141

See Your Saved Posts Timeline

Reply to This

Replies to This Discussion

so you need to create another message and send it

in this method, instead of sending back same message create another one and send that one

void computer::handleMessage(cMessage *msg)

cMessage *ackMsg = new cMessage("Ack1");
send(ackMsg, "out");

not sure if this will work, but my assumption based on shared code 

not working 

ye to msg1 show hota ye Ack1 dono work nahi kr rahy

kya yeah sara code hay? mujhay lagta hay kaam karna chahiee

ye Omnet++ software hy jis pe hm to node bna k us pe c++ k code k sath communication krwa rahy hen 

itni b ni ati 

bakhtu ye puch rahi k bta rahi 

bta rhi 

hahahaha nikammi hi ho


mai itni laik kisi din ni the

ho e nikammi dono



A quality education changes lives & start with you.

Forum Categorizes

Job's & Careers (Latest Jobs)

Admissions (Latest Admissons)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

VU Subject Study Groups

Other Universities/Colleges/Schools Help

    ::::::::::: More Categorizes :::::::::::

Member of The Month

© 2018   Created by + M.TariK MaliC.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service