[ns] how receive CBR packets at my own agent????

2011-08-13 Thread Fahimeh Akbari

Hi 


I want to receive every CBR packets in my own agent and after extracting some 
data from that, forward it to it's destination.
So in my agent constructor definition, I used from following code:
/**/
SBC2::SBC2() : Agent(PT_CBR) {

    dup_flag_=0;
//    set_pkttype(PT_CBR);
    puts(SBC2::SBC2\n);
}
/**/

but It doesn't work and doesn't receive any packet. I tested PT_UDP and 
PT_RTP too. what I must to do. Please help me. I have so little time.


with thanks: F.Akbari


Re: [ns] [VIP] Discussion

2011-08-13 Thread Mariam A. Moustafa

As it is a free-will, we can agree on rules which enhance the asking
process!
we have two ways:
1- after his problem is solved the asker is responsible for forwarding the
detailed answer (only one detailed full answer).
2- those who answered even if a partial answer, send the answer to all not
in private. (so we will have many of partial answers by compiling them we
can get the full answer).
else this archiving is useless and becomes full of repeated questions with
no answers!
and if we lost the active members here, the list will die :)

it is just a suggestion! Thanks all, Mariam

On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBC teera...@ece.ubc.ca wrote:

 Hi,

 I think what Mariam means is to post the solved problem. Although, people
 use REPLY ALL to post the answer. We don't know whether the answer really
 solve the solution. As for me, most of the time, I only give a partial
 answer, leaving the askers something to think of by themselves. This forces
 the askers not to rely entirely on anwerers. But again, NS2 mailing list
 exists on free-will only. We can't force people to do things (even if they
 are good things). In the end, it would be up to people on the list.

 Best,
 Teerawat
 On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote:

 
 
 
  Hi every body (salam)
  I think It's completely true, but in another groups (like yahoogroup) the
 sender of e-mail is yahoogroup, so when we reply to e-mail it will forward
 to group, and then all it's users.
 
  I think it must be like that in ns-users group!
 
  with special thanks to mariam: Fahimeh
 
 
  
  From: Mariam A. Moustafa elansary@gmail.com
  To: ns-users@ISI.EDU
  Sent: Friday, August 12, 2011 12:43 PM
  Subject: [ns] [VIP] Discussion
 
 
  Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in
 our
  archive we have a lot of questions and few of them are attached with
 thier
  answers!! Also as an open community we rely on the existance of expert
 and
  active persons.. due to the dynamic nature of this mailing list we need
 to
  arrange the process of asking and answering a question here is an initial
  suggestion and the subject is open for discussion.. what is about the
 person
  who ask the question and get a full and correct answer, S/he is the
  responsible to thank the list by forward the answer after it works.
  depending in the honesty on the memebers! what do you see?? Thanks Mariam
 




-- 
Best regards,

Mariam Ahmed Moustafa

Software Engineer, RD Department

Integrated Solutions For Ports

Tel: +(203) 4293846/4294632 Extn: 207

Email:  mka...@isfpegypt.com

Web Site: www.isfpegypt.com


Re: [ns] [VIP] Discussion

2011-08-13 Thread Teerawat@UBC

Hi,

I agree. I would be great if we follow this guideline.  I also have one more 
rule to add: Put a tag [NS-ANS: ] in front  of the subject for the answer.

Best
Teerawat




On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote:

 As it is a free-will, we can agree on rules which enhance the asking process!
 
 we have two ways:
 
 1- after his problem is solved the asker is responsible for forwarding the 
 detailed answer (only one detailed full answer).
 
 2- those who answered even if a partial answer, send the answer to all not in 
 private. (so we will have many of partial answers by compiling them we can 
 get the full answer).
 
 else this archiving is useless and becomes full of repeated questions with no 
 answers! 
 
 and if we lost the active members here, the list will die :)
 
 
 it is just a suggestion!
 Thanks all,
 Mariam
 
 On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBC teera...@ece.ubc.ca wrote:
 Hi,
 
 I think what Mariam means is to post the solved problem. Although, people use 
 REPLY ALL to post the answer. We don't know whether the answer really solve 
 the solution. As for me, most of the time, I only give a partial answer, 
 leaving the askers something to think of by themselves. This forces the 
 askers not to rely entirely on anwerers. But again, NS2 mailing list exists 
 on free-will only. We can't force people to do things (even if they are good 
 things). In the end, it would be up to people on the list.
 
 Best,
 Teerawat
 On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote:
 
 
 
 
  Hi every body (salam)
  I think It's completely true, but in another groups (like yahoogroup) the 
  sender of e-mail is yahoogroup, so when we reply to e-mail it will forward 
  to group, and then all it's users.
 
  I think it must be like that in ns-users group!
 
  with special thanks to mariam: Fahimeh
 
 
  
  From: Mariam A. Moustafa elansary@gmail.com
  To: ns-users@ISI.EDU
  Sent: Friday, August 12, 2011 12:43 PM
  Subject: [ns] [VIP] Discussion
 
 
  Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in our
  archive we have a lot of questions and few of them are attached with thier
  answers!! Also as an open community we rely on the existance of expert and
  active persons.. due to the dynamic nature of this mailing list we need to
  arrange the process of asking and answering a question here is an initial
  suggestion and the subject is open for discussion.. what is about the person
  who ask the question and get a full and correct answer, S/he is the
  responsible to thank the list by forward the answer after it works.
  depending in the honesty on the memebers! what do you see?? Thanks Mariam
 
 
 
 
 
 -- 
 Best regards,
 
 Mariam Ahmed Moustafa
 
 Software Engineer, RD Department
 
 Integrated Solutions For Ports
 
 Tel: +(203) 4293846/4294632 Extn: 207
 
 Email:  mka...@isfpegypt.com
 
 Web Site: www.isfpegypt.com



Re: [ns] [NS-ANS] [VIP] Discussion

2011-08-13 Thread Mariam A. Moustafa

I totally agree with you, and adding a tag seems a very useful addition :)
Jazak Allah kheran

how can we set this rule?! is here admins?

On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBC teera...@ece.ubc.ca wrote:

 Hi,

 I agree. I would be great if we follow this guideline.  I also have one
 more rule to add: Put a tag [NS-ANS: ] in front  of the subject for the
 answer.

 Best
 Teerawat




 On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote:

 As it is a free-will, we can agree on rules which enhance the asking
 process!
 we have two ways:
 1- after his problem is solved the asker is responsible for forwarding the
 detailed answer (only one detailed full answer).
 2- those who answered even if a partial answer, send the answer to all not
 in private. (so we will have many of partial answers by compiling them we
 can get the full answer).
 else this archiving is useless and becomes full of repeated questions with
 no answers!
 and if we lost the active members here, the list will die :)

 it is just a suggestion! Thanks all, Mariam

 On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBC teera...@ece.ubc.ca wrote:

 Hi,

 I think what Mariam means is to post the solved problem. Although, people
 use REPLY ALL to post the answer. We don't know whether the answer really
 solve the solution. As for me, most of the time, I only give a partial
 answer, leaving the askers something to think of by themselves. This forces
 the askers not to rely entirely on anwerers. But again, NS2 mailing list
 exists on free-will only. We can't force people to do things (even if they
 are good things). In the end, it would be up to people on the list.

 Best,
 Teerawat
 On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote:

 
 
 
  Hi every body (salam)
  I think It's completely true, but in another groups (like yahoogroup)
 the sender of e-mail is yahoogroup, so when we reply to e-mail it will
 forward to group, and then all it's users.
 
  I think it must be like that in ns-users group!
 
  with special thanks to mariam: Fahimeh
 
 
  
  From: Mariam A. Moustafa elansary@gmail.com
  To: ns-users@ISI.EDU
  Sent: Friday, August 12, 2011 12:43 PM
  Subject: [ns] [VIP] Discussion
 
 
  Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in
 our
  archive we have a lot of questions and few of them are attached with
 thier
  answers!! Also as an open community we rely on the existance of expert
 and
  active persons.. due to the dynamic nature of this mailing list we need
 to
  arrange the process of asking and answering a question here is an
 initial
  suggestion and the subject is open for discussion.. what is about the
 person
  who ask the question and get a full and correct answer, S/he is the
  responsible to thank the list by forward the answer after it works.
  depending in the honesty on the memebers! what do you see?? Thanks
 Mariam
 






Re: [ns] [NS-ANS] [VIP] Discussion

2011-08-13 Thread Leo Sánchez

I agree with all of you! There are only 2 or 3 active users in this list.
But I think that this problem is due to another problem that it's 
mandatory to solve: the stupid and trivial useless questions. For 
example, I've seen people asking again and again how to do something 
that you can just search in any simple tutorial.

When I see someone like this, I never answer his questions, because he 
domonstrate that haven't search anything.
By the way, I think this list is for more elaborate questions, so I 
answer that questions when I have the answer.

Anyway, there's no simple way to solve our first problem, because we can 
dedice that it's our responsability to answer, but we're only a few. 
Nevertheless, I will answer the list (as usually I do) in order to 
improve our list!

Regards!
Leo Sánchez

PS: sorry for my English, I'm not fluent and maybe some things could be 
misunderstood.


El 13/08/2011 10:34, Mariam A. Moustafa escribió:
 I totally agree with you, and adding a tag seems a very useful addition :)
 Jazak Allah kheran

 how can we set this rule?! is here admins?

 On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBCteera...@ece.ubc.ca  wrote:

 Hi,

 I agree. I would be great if we follow this guideline.  I also have one
 more rule to add: Put a tag [NS-ANS: ] in front  of the subject for the
 answer.

 Best
 Teerawat




 On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote:

 As it is a free-will, we can agree on rules which enhance the asking
 process!
 we have two ways:
 1- after his problem is solved the asker is responsible for forwarding the
 detailed answer (only one detailed full answer).
 2- those who answered even if a partial answer, send the answer to all not
 in private. (so we will have many of partial answers by compiling them we
 can get the full answer).
 else this archiving is useless and becomes full of repeated questions with
 no answers!
 and if we lost the active members here, the list will die :)

 it is just a suggestion! Thanks all, Mariam

 On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBCteera...@ece.ubc.ca  wrote:

 Hi,

 I think what Mariam means is to post the solved problem. Although, people
 use REPLY ALL to post the answer. We don't know whether the answer really
 solve the solution. As for me, most of the time, I only give a partial
 answer, leaving the askers something to think of by themselves. This forces
 the askers not to rely entirely on anwerers. But again, NS2 mailing list
 exists on free-will only. We can't force people to do things (even if they
 are good things). In the end, it would be up to people on the list.

 Best,
 Teerawat
 On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote:



 Hi every body (salam)
 I think It's completely true, but in another groups (like yahoogroup)
 the sender of e-mail is yahoogroup, so when we reply to e-mail it will
 forward to group, and then all it's users.
 I think it must be like that in ns-users group!

 with special thanks to mariam: Fahimeh


 
 From: Mariam A. Moustafaelansary@gmail.com
 To: ns-users@ISI.EDU
 Sent: Friday, August 12, 2011 12:43 PM
 Subject: [ns] [VIP] Discussion


 Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in
 our
 archive we have a lot of questions and few of them are attached with
 thier
 answers!! Also as an open community we rely on the existance of expert
 and
 active persons.. due to the dynamic nature of this mailing list we need
 to
 arrange the process of asking and answering a question here is an
 initial
 suggestion and the subject is open for discussion.. what is about the
 person
 who ask the question and get a full and correct answer, S/he is the
 responsible to thank the list by forward the answer after it works.
 depending in the honesty on the memebers! what do you see?? Thanks
 Mariam





Re: [ns] [NS-ANS] [VIP] Discussion

2011-08-13 Thread Mariam A. Moustafa

Thanks Leo for your reply, the problem of the* trivial problem* may be due
to they are newbies or even as u mentioned, in fact we couldn't control
that, the asker of a trivial question will search the archiving, if find the
answer then good else if any could answer good else he will find another way
to find the answer. (the list will has a pool of silly questions consider
them them noise)

concerning the *elaborate questions* we need to keep their answers and
this is the issue...

I hope to have a list of famous* QA* for the trivial questions and a good
organized (using tags) for the *elaborate* questions



On Sat, Aug 13, 2011 at 11:38 AM, Leo Sánchez sanc...@ugr.es wrote:

 I agree with all of you! There are only 2 or 3 active users in this list.
 But I think that this problem is due to another problem that it's mandatory
 to solve: the stupid and trivial useless questions. For example, I've seen
 people asking again and again how to do something that you can just search
 in any simple tutorial.

 When I see someone like this, I never answer his questions, because he
 domonstrate that haven't search anything.
 By the way, I think this list is for more elaborate questions, so I
 answer that questions when I have the answer.

 Anyway, there's no simple way to solve our first problem, because we can
 dedice that it's our responsability to answer, but we're only a few.
 Nevertheless, I will answer the list (as usually I do) in order to improve
 our list!

 Regards!
 Leo Sánchez

 PS: sorry for my English, I'm not fluent and maybe some things could be
 misunderstood.


 El 13/08/2011 10:34, Mariam A. Moustafa escribió:

  I totally agree with you, and adding a tag seems a very useful addition :)
 Jazak Allah kheran

 how can we set this rule?! is here admins?

 On Sat, Aug 13, 2011 at 10:30 AM, 
 Teerawat@UBCteera...@ece.ubc.**cateera...@ece.ubc.ca
  wrote:

  Hi,

 I agree. I would be great if we follow this guideline.  I also have one
 more rule to add: Put a tag [NS-ANS: ] in front  of the subject for
 the
 answer.

 Best
 Teerawat




 On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote:

 As it is a free-will, we can agree on rules which enhance the asking
 process!
 we have two ways:
 1- after his problem is solved the asker is responsible for forwarding
 the
 detailed answer (only one detailed full answer).
 2- those who answered even if a partial answer, send the answer to all
 not
 in private. (so we will have many of partial answers by compiling them we
 can get the full answer).
 else this archiving is useless and becomes full of repeated questions
 with
 no answers!
 and if we lost the active members here, the list will die :)

 it is just a suggestion! Thanks all, Mariam

 On Sat, Aug 13, 2011 at 9:33 AM, 
 Teerawat@UBCteera...@ece.ubc.**cateera...@ece.ubc.ca
  wrote:

  Hi,

 I think what Mariam means is to post the solved problem. Although,
 people
 use REPLY ALL to post the answer. We don't know whether the answer
 really
 solve the solution. As for me, most of the time, I only give a partial
 answer, leaving the askers something to think of by themselves. This
 forces
 the askers not to rely entirely on anwerers. But again, NS2 mailing list
 exists on free-will only. We can't force people to do things (even if
 they
 are good things). In the end, it would be up to people on the list.

 Best,
 Teerawat
 On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote:



 Hi every body (salam)
 I think It's completely true, but in another groups (like yahoogroup)

 the sender of e-mail is yahoogroup, so when we reply to e-mail it will
 forward to group, and then all it's users.

 I think it must be like that in ns-users group!

 with special thanks to mariam: Fahimeh


 __**__
 From: Mariam A. Moustafaelansary.mam@gmail.**comelansary@gmail.com
 
 To: ns-users@ISI.EDU
 Sent: Friday, August 12, 2011 12:43 PM
 Subject: [ns] [VIP] Discussion


 Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly,
 in

 our

 archive we have a lot of questions and few of them are attached with

 thier

 answers!! Also as an open community we rely on the existance of expert

 and

 active persons.. due to the dynamic nature of this mailing list we need

 to

 arrange the process of asking and answering a question here is an

 initial

 suggestion and the subject is open for discussion.. what is about the

 person

 who ask the question and get a full and correct answer, S/he is the
 responsible to thank the list by forward the answer after it works.
 depending in the honesty on the memebers! what do you see?? Thanks

 Mariam






Re: [ns] [NS-ANS] [VIP] Discussion

2011-08-13 Thread Imran khan

Hi,

Adding to the Leo's point I would say that the main aim of this mailing list
is to guide NS2 users and help them solve their problems that they are
facing. It becomes very difficult when the students want their assignments
and projects done by other people. I have had fair share of mercy appeals
for such kindness, which I am not willing to do.
Having said that an organised NS2 mailing list is needed and every person
should take moral responsibility of notifying on mailing list about the
solution (s)he found for their NS2 problems.

--

Best Regards,

Imran Khan

Research Engineer

Network and Service Architecture Lab

Institute Telecom, Telecom SudParis, CNRS Lab UMR5157

9 rue Charles Fourier, 91011 Evry, France


+33 (0) 6 10 91 00 63
http://www.about.me/imrankhan1984



On Sat, Aug 13, 2011 at 11:38 AM, Leo Sánchez sanc...@ugr.es wrote:


 I agree with all of you! There are only 2 or 3 active users in this list.
 But I think that this problem is due to another problem that it's
 mandatory to solve: the stupid and trivial useless questions. For
 example, I've seen people asking again and again how to do something
 that you can just search in any simple tutorial.

 When I see someone like this, I never answer his questions, because he
 domonstrate that haven't search anything.
 By the way, I think this list is for more elaborate questions, so I
 answer that questions when I have the answer.

 Anyway, there's no simple way to solve our first problem, because we can
 dedice that it's our responsability to answer, but we're only a few.
 Nevertheless, I will answer the list (as usually I do) in order to
 improve our list!

 Regards!
 Leo Sánchez

 PS: sorry for my English, I'm not fluent and maybe some things could be
 misunderstood.


 El 13/08/2011 10:34, Mariam A. Moustafa escribió:
  I totally agree with you, and adding a tag seems a very useful addition
 :)
  Jazak Allah kheran
 
  how can we set this rule?! is here admins?
 
  On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBCteera...@ece.ubc.ca
  wrote:
 
  Hi,
 
  I agree. I would be great if we follow this guideline.  I also have one
  more rule to add: Put a tag [NS-ANS: ] in front  of the subject for
 the
  answer.
 
  Best
  Teerawat
 
 
 
 
  On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote:
 
  As it is a free-will, we can agree on rules which enhance the asking
  process!
  we have two ways:
  1- after his problem is solved the asker is responsible for forwarding
 the
  detailed answer (only one detailed full answer).
  2- those who answered even if a partial answer, send the answer to all
 not
  in private. (so we will have many of partial answers by compiling them
 we
  can get the full answer).
  else this archiving is useless and becomes full of repeated questions
 with
  no answers!
  and if we lost the active members here, the list will die :)
 
  it is just a suggestion! Thanks all, Mariam
 
  On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBCteera...@ece.ubc.ca
  wrote:
 
  Hi,
 
  I think what Mariam means is to post the solved problem. Although,
 people
  use REPLY ALL to post the answer. We don't know whether the answer
 really
  solve the solution. As for me, most of the time, I only give a partial
  answer, leaving the askers something to think of by themselves. This
 forces
  the askers not to rely entirely on anwerers. But again, NS2 mailing
 list
  exists on free-will only. We can't force people to do things (even if
 they
  are good things). In the end, it would be up to people on the list.
 
  Best,
  Teerawat
  On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote:
 
 
 
  Hi every body (salam)
  I think It's completely true, but in another groups (like yahoogroup)
  the sender of e-mail is yahoogroup, so when we reply to e-mail it will
  forward to group, and then all it's users.
  I think it must be like that in ns-users group!
 
  with special thanks to mariam: Fahimeh
 
 
  
  From: Mariam A. Moustafaelansary@gmail.com
  To: ns-users@ISI.EDU
  Sent: Friday, August 12, 2011 12:43 PM
  Subject: [ns] [VIP] Discussion
 
 
  Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly,
 in
  our
  archive we have a lot of questions and few of them are attached with
  thier
  answers!! Also as an open community we rely on the existance of expert
  and
  active persons.. due to the dynamic nature of this mailing list we
 need
  to
  arrange the process of asking and answering a question here is an
  initial
  suggestion and the subject is open for discussion.. what is about the
  person
  who ask the question and get a full and correct answer, S/he is the
  responsible to thank the list by forward the answer after it works.
  depending in the honesty on the memebers! what do you see?? Thanks
  Mariam
 
 




Re: [ns] [NS-ANS] [VIP] Discussion

2011-08-13 Thread Mariam A. Moustafa

Yes Imran, Having said that an organised NS2 mailing list is needed and
every person should take moral responsibility of notifying on mailing list
about the solution (s)he found for their NS2 problems. this is the point

but if we cannot depend on morality, as Leo suggests the answers should be
forward to all with a certain tag..

*No Individual answers*? with me? let's set the rule

On Sat, Aug 13, 2011 at 12:52 PM, Imran khan imrankhan1...@gmail.comwrote:

 Hi,

 Adding to the Leo's point I would say that the main aim of this mailing
 list is to guide NS2 users and help them solve their problems that they are
 facing. It becomes very difficult when the students want their assignments
 and projects done by other people. I have had fair share of mercy appeals
 for such kindness, which I am not willing to do.
 Having said that an organised NS2 mailing list is needed and every person
 should take moral responsibility of notifying on mailing list about the
 solution (s)he found for their NS2 problems.

 --

 Best Regards,

 Imran Khan

 Research Engineer

 Network and Service Architecture Lab

 Institute Telecom, Telecom SudParis, CNRS Lab UMR5157

 9 rue Charles Fourier, 91011 Evry, France


 +33 (0) 6 10 91 00 63
 http://www.about.me/imrankhan1984



 On Sat, Aug 13, 2011 at 11:38 AM, Leo Sánchez sanc...@ugr.es wrote:


 I agree with all of you! There are only 2 or 3 active users in this list.
 But I think that this problem is due to another problem that it's
 mandatory to solve: the stupid and trivial useless questions. For
 example, I've seen people asking again and again how to do something
 that you can just search in any simple tutorial.

 When I see someone like this, I never answer his questions, because he
 domonstrate that haven't search anything.
 By the way, I think this list is for more elaborate questions, so I
 answer that questions when I have the answer.

 Anyway, there's no simple way to solve our first problem, because we can
 dedice that it's our responsability to answer, but we're only a few.
 Nevertheless, I will answer the list (as usually I do) in order to
 improve our list!

 Regards!
 Leo Sánchez

 PS: sorry for my English, I'm not fluent and maybe some things could be
 misunderstood.


 El 13/08/2011 10:34, Mariam A. Moustafa escribió:
  I totally agree with you, and adding a tag seems a very useful addition
 :)
  Jazak Allah kheran
 
  how can we set this rule?! is here admins?
 
  On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBCteera...@ece.ubc.ca
  wrote:
 
  Hi,
 
  I agree. I would be great if we follow this guideline.  I also have one
  more rule to add: Put a tag [NS-ANS: ] in front  of the subject
 for the
  answer.
 
  Best
  Teerawat
 
 
 
 
  On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote:
 
  As it is a free-will, we can agree on rules which enhance the asking
  process!
  we have two ways:
  1- after his problem is solved the asker is responsible for forwarding
 the
  detailed answer (only one detailed full answer).
  2- those who answered even if a partial answer, send the answer to all
 not
  in private. (so we will have many of partial answers by compiling them
 we
  can get the full answer).
  else this archiving is useless and becomes full of repeated questions
 with
  no answers!
  and if we lost the active members here, the list will die :)
 
  it is just a suggestion! Thanks all, Mariam
 
  On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBCteera...@ece.ubc.ca
  wrote:
 
  Hi,
 
  I think what Mariam means is to post the solved problem. Although,
 people
  use REPLY ALL to post the answer. We don't know whether the answer
 really
  solve the solution. As for me, most of the time, I only give a partial
  answer, leaving the askers something to think of by themselves. This
 forces
  the askers not to rely entirely on anwerers. But again, NS2 mailing
 list
  exists on free-will only. We can't force people to do things (even if
 they
  are good things). In the end, it would be up to people on the list.
 
  Best,
  Teerawat
  On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote:
 
 
 
  Hi every body (salam)
  I think It's completely true, but in another groups (like yahoogroup)
  the sender of e-mail is yahoogroup, so when we reply to e-mail it will
  forward to group, and then all it's users.
  I think it must be like that in ns-users group!
 
  with special thanks to mariam: Fahimeh
 
 
  
  From: Mariam A. Moustafaelansary@gmail.com
  To: ns-users@ISI.EDU
  Sent: Friday, August 12, 2011 12:43 PM
  Subject: [ns] [VIP] Discussion
 
 
  Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly,
 in
  our
  archive we have a lot of questions and few of them are attached with
  thier
  answers!! Also as an open community we rely on the existance of
 expert
  and
  active persons.. due to the dynamic nature of this mailing list we
 need
  to
  arrange the process of asking and answering a question here is an
  initial
 

Re: [ns] [NS-ANS] [VIP] Discussion

2011-08-13 Thread Mariam A. Moustafa

Yes Itishi, you right post complete solution after getting help from other
ns-users is the best solution but actually we couldn't depend on morality,
so the guaranteed solution is to reply any answer for all, then the question
will be attached with its pieces of answer... got me :)


On Sat, Aug 13, 2011 at 1:41 PM, itishi saxena itish...@yahoo.com wrote:


 I think it will be a good idea to post complete solution after getting help
 from other ns-users because I dont think setting rules will help people.
 sometimes you need answers urgently and you start typing instead of
 searching it anywhere.

 Still we can suggest people to write exact title and use technical term
 in the subject line so that it is easier for anyone to pick queries for
 answer.

 So I am also agree with Mariam.



 Regards,
 Ranjana




  --
 *From:* Mariam A. Moustafa elansary@gmail.com
 *To:* Imran khan imrankhan1...@gmail.com
 *Cc:* ns isi.edu ns-users@ISI.EDU
 *Sent:* Sat, 13 August, 2011 8:59:54 PM
 *Subject:* Re: [ns] [NS-ANS] [VIP] Discussion


 Yes Imran, Having said that an organised NS2 mailing list is needed and
 every person should take moral responsibility of notifying on mailing list
 about the solution (s)he found for their NS2 problems. this is the point

 but if we cannot depend on morality, as Leo suggests the answers should be
 forward to all with a certain tag..

 *No Individual answers*? with me? let's set the rule

 On Sat, Aug 13, 2011 at 12:52 PM, Imran khan imrankhan1...@gmail.com
 wrote:

  Hi,
 
  Adding to the Leo's point I would say that the main aim of this mailing
  list is to guide NS2 users and help them solve their problems that they
 are
  facing. It becomes very difficult when the students want their
 assignments
  and projects done by other people. I have had fair share of mercy appeals
  for such kindness, which I am not willing to do.
  Having said that an organised NS2 mailing list is needed and every person
  should take moral responsibility of notifying on mailing list about the
  solution (s)he found for their NS2 problems.
 
  --
 
  Best Regards,
 
  Imran Khan
 
  Research Engineer
 
  Network and Service Architecture Lab
 
  Institute Telecom, Telecom SudParis, CNRS Lab UMR5157
 
  9 rue Charles Fourier, 91011 Evry, France
 
 
  +33 (0) 6 10 91 00 63
  http://www.about.me/imrankhan1984
 
 
 
  On Sat, Aug 13, 2011 at 11:38 AM, Leo Sánchez sanc...@ugr.es wrote:
 
 
  I agree with all of you! There are only 2 or 3 active users in this
 list.
  But I think that this problem is due to another problem that it's
  mandatory to solve: the stupid and trivial useless questions. For
  example, I've seen people asking again and again how to do something
  that you can just search in any simple tutorial.
 
  When I see someone like this, I never answer his questions, because he
  domonstrate that haven't search anything.
  By the way, I think this list is for more elaborate questions, so I
  answer that questions when I have the answer.
 
  Anyway, there's no simple way to solve our first problem, because we can
  dedice that it's our responsability to answer, but we're only a few.
  Nevertheless, I will answer the list (as usually I do) in order to
  improve our list!
 
  Regards!
  Leo Sánchez
 
  PS: sorry for my English, I'm not fluent and maybe some things could be
  misunderstood.
 
 
  El 13/08/2011 10:34, Mariam A. Moustafa escribió:
   I totally agree with you, and adding a tag seems a very useful
 addition
  :)
   Jazak Allah kheran
  
   how can we set this rule?! is here admins?
  
   On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBCteera...@ece.ubc.ca
   wrote:
  
   Hi,
  
   I agree. I would be great if we follow this guideline.  I also have
 one
   more rule to add: Put a tag [NS-ANS: ] in front  of the subject
  for the
   answer.
  
   Best
   Teerawat
  
  
  
  
   On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote:
  
   As it is a free-will, we can agree on rules which enhance the asking
   process!
   we have two ways:
   1- after his problem is solved the asker is responsible for
 forwarding
  the
   detailed answer (only one detailed full answer).
   2- those who answered even if a partial answer, send the answer to
 all
  not
   in private. (so we will have many of partial answers by compiling
 them
  we
   can get the full answer).
   else this archiving is useless and becomes full of repeated questions
  with
   no answers!
   and if we lost the active members here, the list will die :)
  
   it is just a suggestion! Thanks all, Mariam
  
   On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBCteera...@ece.ubc.ca
   wrote:
  
   Hi,
  
   I think what Mariam means is to post the solved problem. Although,
  people
   use REPLY ALL to post the answer. We don't know whether the answer
  really
   solve the solution. As for me, most of the time, I only give a
 partial
   answer, leaving the askers something to think of by themselves. This
  forces

[ns] [NS- On/Off Server] Re: changing mu (service rate) for m/d/1 - by varying the defined mu

2011-08-13 Thread Amna Abdul Wahid

Hi and Salaam All Again...
Just needed to notify that we solved by changing the dequeue() method of
DropTail class.
That is, to make the server on/off for certain periods, we stopped the
dequeuing during the off period!!!

HTH  anyone looking for such answers

On 12 August 2011 12:18, Amna Abdul Wahid amnaabdulwa...@gmail.com wrote:


 Hi All
 We are trying to turn the service rate of m/d/1 on and off, for certain
 periods. The code is attached herewith.
 We are facing the problem that although we change the $mu value in the
 ''sendpacket' method, the mu value taken by the simulation is the one we
 assign at the beginning.
 (the one supplied in $ns simplex-link $node_(r1) $node_(r2) $mu 10ms
 DropTail)

 Is there any simple way of changing  this value (or the link state) during
 the simulation dynamically?

 Many Thanks in Advance for Any Help
 Amna, Sabri





-- 

Regards,
Amna Abdul Wahid


Re: [ns] [NS- On/Off Server] Re: changing mu (service rate) for m/d/1 - by varying the defined mu

2011-08-13 Thread Mariam A. Moustafa

great work and thanks for the notification :)

On Sat, Aug 13, 2011 at 4:36 PM, Amna Abdul Wahid
amnaabdulwa...@gmail.comwrote:


 Hi and Salaam All Again...
 Just needed to notify that we solved by changing the dequeue() method of
 DropTail class.
 That is, to make the server on/off for certain periods, we stopped the
 dequeuing during the off period!!!

 HTH  anyone looking for such answers

 On 12 August 2011 12:18, Amna Abdul Wahid amnaabdulwa...@gmail.com
 wrote:

 
  Hi All
  We are trying to turn the service rate of m/d/1 on and off, for certain
  periods. The code is attached herewith.
  We are facing the problem that although we change the $mu value in the
  ''sendpacket' method, the mu value taken by the simulation is the one we
  assign at the beginning.
  (the one supplied in $ns simplex-link $node_(r1) $node_(r2) $mu 10ms
  DropTail)
 
  Is there any simple way of changing  this value (or the link state)
 during
  the simulation dynamically?
 
  Many Thanks in Advance for Any Help
  Amna, Sabri
 
 
 


 --

 Regards,
 Amna Abdul Wahid



[ns] NS-Users Q-process Guideline

2011-08-13 Thread Mariam A. Moustafa

Salam Alaikum wa Rahmatullahi wa Barakatuh,
Dears NS-Users

According to our discussion in the mail of  a subject [VIP] Discussion, We
agreed on these guidelines to effectively manage the question's process on
this mailing list

Here is the rules: (please mention, if I forget a thing)
---

*1- To minimize the trivial question, the asker should search the archiving
first to find the answer else if doesn't exist, kindly pay some efforts and
time to google for the answer else send here!*
*
*
*2- The answer of elaborated questions will be sent for the all user not
only the asker with a tag [NS-ANS]*
*
*
*3- Homework and college's assignment are prevented to be solved here, only
if a guidance for a piece of work.*

That's all, hope to follow these rules for good utilizing this list, and
thanks a lot for all active members for participating in expressing this
guideline.


At the end, we would like to thank Mohit Tahiliani for start following the
rules on his reply [ns] [NS-ANS]: how to change the node color with energy
consumption

Thanks dears,
hope the best for all of you
Mariam


Re: [ns] [NS-ANS] Issue with ns2 running with .tcl file with tracI interface

2011-08-13 Thread Imran khan

Hi,

You need to start sumo server over the port which is specified in the tcl
file. Once the server is running, then run your tcl file. Further
information can be found here
http://sourceforge.net/apps/mediawiki/sumo/index.php?title=TraCI


--

Best Regards,

Imran Khan

Research Engineer

Network and Service Architecture Lab

Institute Telecom, Telecom SudParis, CNRS Lab UMR5157

9 rue Charles Fourier, 91011 Evry, France


+33 (0) 6 10 91 00 63
http://www.about.me/imrankhan1984



On Mon, Jul 11, 2011 at 8:46 PM, ketan telang ketan6...@gmail.com wrote:


 I patched ns2 with traci interface. It worked well.
 However whenever I run a .tcl file with traci client in it , i get error as

 num_nodes is set 33
 Connect to TraCI server
 terminate called after throwing an instance of 'tcpip::SocketException'
  what():  tcpip::Socket::connect() @ connect: Connection refused

 what's going wrong here?
 Thanks