4 Replies Latest reply on Dec 5, 2009 1:01 AM by Ron Sigal

    why would version == SocketWarpper.CLOSING ?

    mazz Master

      What would cause the version read over the wire to be SocketWrapper.CLOSING?

      Specifically, I'm looking at MicroSocketClientInvoker, line 629-ish from Remoting 2.2.2.SP8:

      if (version == SocketWrapper.CLOSING)
      {
       log.debug("Received version 254: treating as end of file");
       throw new SocketException("end of file");
      }


      I'm sending a message from a client, and I see no reason why this should be failing, but it does. The failure is due to that exception getting thrown above. I'm not sure what it means or what could cause it to happen. Any tips would be appreciated. :}