HostAddRoute Method (Route, NullableInt32) |
Adds a route to the host's routing table.
Namespace: Network.Sim.CoreAssembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void AddRoute(
Route route,
Nullable<int> index = null
)
Parameters
- route
- Type: Network.Sim.Network.Ip.RoutingRoute
The route to add to the host's routing table. - index (Optional)
- Type: SystemNullableInt32
The row number to insert the route add or null to add the route
to the end of the routing table.
Exceptions
See Also