MTSC  1.0.5
Build TCP servers out of modules with handlers for communication, exception and logging.
Message.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 
5 namespace MTSC
6 {
7  public struct Message
8  {
9  private uint messageLength;
10  private byte[] messageBytes;
11  public uint MessageLength { get => messageLength; }
12  public byte[] MessageBytes { get => messageBytes; }
13  public Message(uint messageLength, byte[] messageBytes)
14  {
15  this.messageLength = messageLength;
16  this.messageBytes = messageBytes;
17  }
18  }
19 }
Definition: Client.cs:14