[Oz] Distribution problems

Garibald Hennes suegar at gmx.de
Tue May 30 10:18:10 CEST 2000


When trying to read from a proxy socket object I get a failure, which I
don't understand

The proxy socket is defined like:


   class SockProxy
      attr sock

      meth init(Socket)
	 sock <- Socket
      end
      meth read(...) = M
	 {@sock M}
      end
   ...
   end

and is called in a distributed setting as

	{MySockProxy read(list:{Browse)}

which leaves to the following error:


%***************************** failure **************************
%**
%** In statement: {OS.read 9 1024 71|69|84|32|47|32|72|84|84|80|,,,|,,,
nil
_<dist:pxy>}
%**
%** Call Stack:
%** procedure 'SockAndPipe,read' in file "./op/Open.oz", line 392, column
2,
PC = 136315868
%** procedure 'SockAndPipe,read' in file "./op/Open.oz", line 392, column
2,
PC = 136315804
%** procedure in file "./FrontEnd.oz", line 37, column 2, PC = 135893484
%**--------------------------------------------------------------

Any ideas??

Writing and closing works fine.

Experimental Source under http://www.virtual-earth.de/Projects/OzWeb/

-- 
Sent through GMX FreeMail - http://www.gmx.net

-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list