creating a server

33 views
Skip to first unread message

mehrdad manoochehri

unread,
Apr 20, 2017, 5:41:41 AM4/20/17
to ns-3-users
Hi. i have a question. is it possible to create a server in ns3 to store some information from client and so that according to those information, server can take order to devices. for example one device should be gone to sleep mode.

can we create a server like this in ns3 ?

Thank you


Konstantinos

unread,
Apr 20, 2017, 6:00:55 AM4/20/17
to ns-3-users
Yes, you can create it. Design it and implement it.  
No, there is no such server/application already implemented.

mehrdad manoochehri

unread,
Apr 20, 2017, 6:03:54 AM4/20/17
to ns-3-...@googlegroups.com
ok. how can i create a server like this to use it in ns3? can you show me the ropes ?

Thank you.

--
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 a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/VYVlDXRv_5c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@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.

Konstantinos

unread,
Apr 20, 2017, 6:11:12 AM4/20/17
to ns-3-users
Perhaps you did not read my reply carefully. There is NO such server already available in ns-3.
To create a server, you create a node and install an application. 
You need to define how that application will operate.

For example you said you want to store some information. 
Where do you want to store it? 
Does it have to be a file or local storage is enough?
How is that information obtained? 
What is it's format? What does it represent? 
...

All these questions are NOT ns-3 specific. They are your design. 
After you have a clear design, fully functional on paper, you can come back and ask specific question on how to implement parts of that design.
Most probably, we will refer you back to the ns-3 documentation, so study that before asking a question.

Regards,
K

mehrdad manoochehri

unread,
Apr 20, 2017, 10:44:46 AM4/20/17
to ns-3-...@googlegroups.com
my scenario is that each access point by sensing probe request, makes a list of mac addresses of each device in its coverage. and the list of mac addresses will be transfered to the server periodically. these lists are supposed to store in server in a file. a log file. Also, i wonder how each access point can create the list of mac addresses



Best regards


 

Tommaso Pecorella

unread,
Apr 24, 2017, 7:04:08 AM4/24/17
to ns-3-users
Hi,

as Kostantinos said (between the lines), we're not here to do your job for you.
An AP knows the list of devices that have been registered with it. Search the forum for previous questions about this topic.
Implementing all the rest it's part of your job.


T.
To unsubscribe from this group and all its topics, 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.

--
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 a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/VYVlDXRv_5c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages