The ICMP protocol is attached to the IPv4 protocol and allows the host to start ICMP sessions, through which it can communicate with the Layer3 IP network. More...
Methods | |
Description.Get | |
Returns a textual description of the object. | |
Destructor | |
Parent.Get | |
Returns the parent object. | |
Session.Add applicationId | |
Creates an ICMP Echo Session, through which this host can query the Layer3 IP network. More... | |
Session.Get | |
Returns the active list of ICMP Echo Sessions. More... | |
The ICMP protocol is attached to the IPv4 protocol and allows the host to start ICMP sessions, through which it can communicate with the Layer3 IP network.
Layer3.IcmpProtocol::Destructor |
Layer3.IcmpProtocol::Session.Add | applicationId | ||
Creates an ICMP Echo Session, through which this host can query the Layer3 IP network.
See Layer3.IcmpEchoSession for more information.
When an external tool connects to the ByteBlowerPort with an ICMP session (e.g. ping
), that session will not be listed in Session.Get. If you want such sessions to be listed there, you will need to call Session.Add given the applicationId
that is used by the external tool.
applicationId | Provide an application id for this session. This should be unique across the host. If none is given, a random value is generated. Default: Random generate number |
This example creates an Echo session with a random application ID and returns this new object.
Returns:
<Layer3.IcmpEchoSession object>
This example creates an Echo session with a specific application ID and returns this new object. E.g. when ping
uses application Id 7
Returns:
<Layer3.IcmpEchoSession object>
Layer3.IcmpProtocol::Session.Get |
Returns the active list of ICMP Echo Sessions.
When an external tool connects to the ByteBlowerPort with an ICMP session (e.g. ping
), that session will not be listed here. If you want such sessions to be listed here, you will need to call Session.Add given the applicationId
that is used by the external tool.
Returns:
[ <Layer3.IcmpEchoSession object> ... ]