System.Net.SocketAddress.SetSize C# (CSharp) Method

SetSize() private method

private SetSize ( IntPtr ptr ) : void
ptr System.IntPtr
return void
        internal unsafe void SetSize(IntPtr ptr)
        {
            // Apparently it must be less or equal the original value since ReceiveFrom cannot reallocate the address buffer
            m_Size = *(int*)ptr;
        }
        public override bool Equals(object comparand) {