Class NetworkDebugger
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(Address, Int32)
Create NetworkDebugger class (used to connect to a remote debugger)
Declaration
public NetworkDebugger(Address ip, int port)
Parameters
Type | Name | Description |
---|---|---|
Address | ip | IP Address of the remote debugger. |
System.Int32 | port | Port used for TCP connection. |
NetworkDebugger(Int32)
Create NetworkDebugger class (used to listen for a debugger connection)
Declaration
public NetworkDebugger(int port)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | port | Port used for TCP connection. |
Properties
| Improve this Doc View SourceIp
Remote IP Address
Declaration
public Address Ip { get; set; }
Property Value
Type | Description |
---|---|
Address |
Port
Port used
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()
Start debugger
Declaration
public void Start()
Stop()
Stop the debugger by closing TCP Connection
Declaration
public void Stop()