Class NetworkDebugger
Facilitates kernel debugging over IP.
Inheritance
System.Object
NetworkDebugger
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System.Network
Assembly: Cosmos.System2.dll
Syntax
public class NetworkDebugger
Constructors
| Improve this Doc View SourceNetworkDebugger(Int32)
Initializes a new instance of the NetworkDebugger class.
Declaration
public NetworkDebugger(int port)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | port | Port used for TCP connection. |
NetworkDebugger(IPAddress, Int32)
Initializes a new instance of the NetworkDebugger class.
Declaration
public NetworkDebugger(IPAddress ip, int port)
Parameters
Type | Name | Description |
---|---|---|
System.Net.IPAddress | ip | IP Address of the remote debugger. |
System.Int32 | port | Port used for TCP connection. |
Properties
| Improve this Doc View SourceIp
The remote host IP address.
Declaration
public IPAddress Ip { get; set; }
Property Value
Type | Description |
---|---|
System.Net.IPAddress |
Port
The port to use.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceSend(String)
Send text to the debugger.
Declaration
public void Send(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Text to send to the debugger. |
Start()
Starts the debugger.
Declaration
public void Start()
Stop()
Stops the debugger by closing the TCP connection.
Declaration
public void Stop()