Discussion:
nSinks in NS3
Priyanka Wania
2018-12-05 19:04:01 UTC
Permalink
Hi,

I am new to ns3. I read the Doxygen for the NS3 but I am not able to
understand what nSinks actually is ?From the Doxygen documentation, the
variable ‘nSinks’ is defined for the number of nodes that will act as the
data sinks or the receivers and the variable ‘nWifis’ is defined for the
number of nodes in the network. How do I identify the number of users in
the network ?
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
ID
2018-12-06 02:06:25 UTC
Permalink
Actually nWifis are the total number of devices that acts both as a sender
and as a receiver as well. nSinks just a veritable define the number of
receivers from nWifis. From nWifis, equal to nSinks act as receiver in UDP
or TCP application base on their IP addresses.
Regard
Shahid
Post by Priyanka Wania
Hi,
I am new to ns3. I read the Doxygen for the NS3 but I am not able to
understand what nSinks actually is ?From the Doxygen documentation, the
variable ‘nSinks’ is defined for the number of nodes that will act as the
data sinks or the receivers and the variable ‘nWifis’ is defined for the
number of nodes in the network. How do I identify the number of users in
the network ?
--
Posting to this group should follow these guidelines
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups
"ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Priyanka Wania
2018-12-06 18:55:10 UTC
Permalink
So if I have to define the number of users in general I need to define
nWifis? Or nSinks?
We have a problem statement that says to analyse DSR algorithms for 10 and
25 users and there it is mentioned that 10 users/ 2nSinks....
I am not quite sure what it means?
Post by ID
Actually nWifis are the total number of devices that acts both as a sender
and as a receiver as well. nSinks just a veritable define the number of
receivers from nWifis. From nWifis, equal to nSinks act as receiver in UDP
or TCP application base on their IP addresses.
Regard
Shahid
Post by Priyanka Wania
Hi,
I am new to ns3. I read the Doxygen for the NS3 but I am not able to
understand what nSinks actually is ?From the Doxygen documentation, the
variable ‘nSinks’ is defined for the number of nodes that will act as
the data sinks or the receivers and the variable ‘nWifis’ is defined for
the number of nodes in the network. How do I identify the number of users
in the network ?
--
Posting to this group should follow these guidelines
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups
"ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
Posting to this group should follow these guidelines
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups
"ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
*Regards,*
Priyanka Wania
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
ID
2018-12-07 04:05:01 UTC
Permalink
Yes. You should define nWifi according to total number of users.
Sinks ratio should be 10:2.
According to problem statement Every 10 nWifis have 2 sinks. These 2 nSinks
are also included in nWifis.

Regard
Post by Priyanka Wania
So if I have to define the number of users in general I need to define
nWifis? Or nSinks?
We have a problem statement that says to analyse DSR algorithms for 10 and
25 users and there it is mentioned that 10 users/ 2nSinks....
I am not quite sure what it means?
Post by ID
Actually nWifis are the total number of devices that acts both as a
sender and as a receiver as well. nSinks just a veritable define the number
of receivers from nWifis. From nWifis, equal to nSinks act as receiver in
UDP or TCP application base on their IP addresses.
Regard
Shahid
Post by Priyanka Wania
Hi,
I am new to ns3. I read the Doxygen for the NS3 but I am not able to
understand what nSinks actually is ?From the Doxygen documentation, the
variable ‘nSinks’ is defined for the number of nodes that will act as
the data sinks or the receivers and the variable ‘nWifis’ is defined
for the number of nodes in the network. How do I identify the number of
users in the network ?
--
Posting to this group should follow these guidelines
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google
Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
Posting to this group should follow these guidelines
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups
"ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
*Regards,*
Priyanka Wania
--
Posting to this group should follow these guidelines
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups
"ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Loading...