4dyna

所属分类:.net编程
开发工具:Visual C++
文件大小:481KB
下载次数:5
上传日期:2010-01-08 21:10:04
上 传 者shasara
说明:  入门omnet++,omnet++仿真实验,欢迎大家一起交流。
(It is very useful for student who study omnet++.)

文件列表:
dyna\.tkenvrc (1236, 2006-10-21)
dyna\ChangeLog (1699, 2006-10-21)
dyna\client.cpp (3738, 2006-10-21)
dyna\dyna.dsp (9268, 2009-07-26)
dyna\dyna.dsp.in (9162, 2006-10-21)
dyna\dyna.dsw (533, 2006-10-21)
dyna\dyna.exe (1626112, 2006-10-21)
dyna\dyna.h (435, 2006-10-21)
dyna\dyna.ned (3084, 2006-10-21)
dyna\dynapacket.msg (603, 2006-10-21)
dyna\Makefile.vc (3847, 2006-10-21)
dyna\omnetpp.ini (832, 2006-10-21)
dyna\realtime\.tkenvrc (1144, 2006-10-21)
dyna\realtime\omnetpp.ini (375, 2006-10-21)
dyna\realtime\run (9, 2006-10-21)
dyna\realtime\run.bat (13, 2006-10-21)
dyna\realtime.ini (106, 2006-10-21)
dyna\server.cpp (1380, 2006-10-21)
dyna\servproc.cpp (2704, 2006-10-21)
dyna\switch.cpp (1715, 2006-10-21)
dyna\realtime (0, 2009-07-26)
dyna (0, 2009-07-26)

DYNA ==== Models a client-server application. Demonstrates: - message subclassing - dynamic module creation - using WATCH() - star topology (with the number of modules passed as parameters) Dyna is a model of a simple client-server network. The network contains several clients and one server interconnected via a switch. The number of clients is configurable. Each client computer periodically connects to the server for data exchange. In each connection, the client sends a random number of "queries" then closes the connection. The server handles several incoming connections concurrently. Each connection is served by a separate process, which is implemented with a dynamically created simple module. These serverproc modules can be seen when you open an inspector for the "server" module (right click on the icon --> Inspect as object) and click on the "Submods" tab. They can also be seen in the object tree in the main window -- just open the "server" node in the tree. Note that the modelled protocol (CONN_REQ, CONN_ACK, etc) is rather a "metaphor" of a transport-level protocol than a model of any existing protocol. (For one thing, it doesn't contain three-way handshake, a proper retransmission scheme etc.) It serves only demonstation purposes. The module types are: Client: A client computer which periodically connects to the server for data exchange. Switch: A very simple module which models the network between the server and the clients. Server: Models a simple server which accepts connections from the client computers. It serves multiple connections at a time; each connection is handled by a ServerProcess module, created on demand. ServerProcess: Handles one connection in the server. ClientServer: Model of the network, consisting of several clients, a server and a switch. The number of clients is a parameter.

近期下载者

相关文件


收藏者