Esempio n. 1
0
        public IFrame ToFrame()
        {
            var builder = new FrameBuilder();

            builder.WriteByte((byte)MessageType);
            builder.WriteString(ClientHostAddress.IpAddress);
            builder.WriteInt(ClientHostAddress.Port);
            WriteInternal(builder);

            return(builder.ToFrame());
        }