Ejemplo n.º 1
0
        // Override methods in AbstractPlainSocketImpl that access impl's fields.

//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: protected synchronized void create(boolean stream) throws IOException
        protected internal override void Create(bool stream)
        {
            lock (this)
            {
                Impl.Create(stream);

                // set fd to delegate's fd to be compatible with older releases
                this.Fd = Impl.Fd;
            }
        }