An example of a TCP server.
conf_object, log_object, recorded
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
port
-
Optional attribute;
read/write access; type:
i
TCP port number to listen on. If 0 or omitted, an available port is chosen when the object is created.
-
recipient
-
Required attribute;
read/write access; type:
o
Object receiving the data. It must implement the tcp_served interface.
-
recorder
-
Required attribute;
read/write access; type:
o
Recorder object.
notifier-example