Class NetworkStack
Implement a Network Stack for all network devices and protocols
Inheritance
System.Object
NetworkStack
Namespace: Cosmos.System.Network
Assembly: Cosmos.System2.dll
Syntax
public static class NetworkStack : object
Fields
| Improve this Doc View Sourcedebugger
Debugger inctanse of the "System" ring, with the "NetworkStack" tag.
Declaration
public static Debugger debugger
Field Value
Type | Description |
---|---|
Debugger |
Methods
| Improve this Doc View SourceConfigIP(NetworkDevice, Config)
Configure a IP configuration on the given network device.
Declaration
public static void ConfigIP(NetworkDevice nic, Config config)
Parameters
Type | Name | Description |
---|---|---|
NetworkDevice | nic | NetworkDevice that will have the assigned configuration |
Config | config | Config instance that defines the IP Address, Subnet Mask and Default Gateway for the device |
Init()
Initialize the Network Stack to prepare it for operation.
Declaration
public static void Init()
Update()
Called continously to keep the Network Stack going.
Declaration
public static void Update()