/// <summary>
        /// Creates a new instance of the NetCom-Server on a given port.
        /// </summary>
        /// <param name="pPort">Target TCP-Port</param>
        public NetComServer(int pPort)
        {
            port     = pPort;
            serverIP = IPAddress.Any;

            RSAKeys = RSAHandler.GenerateKeyPair();
        }
 /// <summary>
 /// Creates a new NetCom-client instance.
 /// </summary>
 /// <param name="pServerIP">IP of the server</param>
 /// <param name="pPort">TCP port of the server</param>
 public NetComClient(IPAddress pServerIP, int pPort)
 {
     RSAKeys  = RSAHandler.GenerateKeyPair();
     port     = pPort;
     serverIP = pServerIP;
 }