And if it is the case that you are picking up the wrong address you
can use DPInit.init to set your preferred ip address, see:

  http://www.mozart-oz.org/documentation/system/node52.html#chapter.dpinit

regards
k


Andres Becerra Sandoval writes:
 > Hello, 
 >  
 > Check your /etc/hosts and c:\windows\hosts files
 > They should have a line like:
 > 10.1.2.209 servername
 >  
 > Otherwise Mozart could be creating tickets for the loopback address 
 > (127.0.0.0 or localhost)
 > Andres Becerra Sandoval
 > 
 > ________________________________
 > 
 > From: [EMAIL PROTECTED] on behalf of mauricio moreno
 > Sent: Fri 28/10/2005 17:49
 > To: [EMAIL PROTECTED]
 > Subject: pickle module
 > 
 > 
 > 
 > declare
 > fun {Criba Xs Zs As}
 >    case Zs
 >    of nil then As
 >    []Z|Zr then  Ys={Filter Xs fun {$ Y} Y mod Z \= 0
 >                               end}  in
 >       {Criba Ys Zr Ys} end
 > end
 > 
 > fun {Genera N Limit}
 >    if N<Limit then
 >       N|{Genera N+2 Limit}
 >    else nil end
 > end
 > 
 > declare
 > local Xs Ys Zs in
 >    Zs={Pickle.load "http://10.1.2.209/primos10.pri"}
 >    Xs={Genera  524289 1048576}
 >    Ys={Criba Xs Zs nil}
 >    {Pickle.save Ys
 > "http://10.1.2.209/~primos/primo20.pri"}
 >    %{Browse Ys}
 > end
 > 
 > "http://10.1.2.209/~primos/*.*"; is the internal
 > address of the server in the Pereira Technological
 > University, this code works when I have the files in
 > the same machine in that i am running the program, but
 > i am going to try throw intranet and it does not work,
 > the server machine is apache in Linux operating system
 > and the client machine is in Windows 2000.
 > 
 > I need to know if i have something wrong in the source
 > code or if is the URL or something else
 > P.S. the external IP address is 63.74.31.2
 > 
 > 
 > __________________________________________________
 > Correo Yahoo!
 > Espacio para todos tus mensajes, antivirus y antispam
 > ¡gratis!
 > Regístrate ya - http://correo.espanol.yahoo.com/
 > 
 > __________________________________________________
 > Correo Yahoo!
 > Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
 > Regístrate ya - http://correo.espanol.yahoo.com/ 
 > 
 > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 > <HTML>
 > <HEAD>
 > 
 > <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
 > <TITLE>pickle module</TITLE>
 > </HEAD>
 > <BODY>
 > <DIV id=idOWAReplyText70761 dir=ltr>
 > <DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hello, </FONT></DIV>
 > <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
 > <DIV dir=ltr><FONT face=Arial size=2>Check your /etc/hosts and 
 > c:\windows\hosts 
 > files</FONT></DIV>
 > <DIV dir=ltr><FONT face=Arial color=#000000 size=2>They should have a line 
 > like:</FONT></DIV>
 > <DIV dir=ltr><FONT face=Arial size=2>10.1.2.209 servername</FONT></DIV>
 > <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
 > <DIV dir=ltr><FONT face=Arial size=2>Otherwise Mozart could be creating 
 > tickets 
 > for the loopback address (127.0.0.0 or localhost)</FONT></DIV></DIV>
 > <DIV id=idSignature1323 dir=ltr><PRE>Andres Becerra Sandoval
 > </PRE></DIV>
 > <DIV dir=ltr><BR>
 > <HR tabIndex=-1>
 > <FONT face=Tahoma size=2><B>From:</B> [EMAIL PROTECTED] on behalf of 
 > mauricio moreno<BR><B>Sent:</B> Fri 28/10/2005 17:49<BR><B>To:</B> 
 > [EMAIL PROTECTED]<BR><B>Subject:</B> pickle module<BR></FONT><BR></DIV>
 > <DIV>
 > <P><FONT size=2>declare<BR>fun {Criba Xs Zs As}<BR>&nbsp;&nbsp; case 
 > Zs<BR>&nbsp;&nbsp; of nil then As<BR>&nbsp;&nbsp; []Z|Zr then&nbsp; 
 > Ys={Filter 
 > Xs fun {$ Y} Y mod Z \= 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 > end}&nbsp; in<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {Criba Ys Zr Ys} 
 > end<BR>end<BR><BR>fun {Genera N Limit}<BR>&nbsp;&nbsp; if N&lt;Limit 
 > then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N|{Genera N+2 Limit}<BR>&nbsp;&nbsp; 
 > else 
 > nil end<BR>end<BR><BR>declare<BR>local Xs Ys Zs in<BR>&nbsp;&nbsp; 
 > Zs={Pickle.load "<A 
 > href="http://10.1.2.209/primos10.pri";>http://10.1.2.209/primos10.pri</A>"}<BR>&nbsp;&nbsp;
 >  
 > Xs={Genera&nbsp; 524289 1048576}<BR>&nbsp;&nbsp; Ys={Criba Xs Zs 
 > nil}<BR>&nbsp;&nbsp; {Pickle.save Ys<BR>"<A 
 > href="http://10.1.2.209/~primos/primo20.pri";>http://10.1.2.209/~primos/primo20.pri</A>"}<BR>&nbsp;&nbsp;
 >  
 > %{Browse Ys}<BR>end<BR><BR>"<A 
 > href="http://10.1.2.209/~primos/*.*";>http://10.1.2.209/~primos/*.*</A>" is 
 > the 
 > internal<BR>address of the server in the Pereira 
 > Technological<BR>University, 
 > this code works when I have the files in<BR>the same machine in that i am 
 > running the program, but<BR>i am going to try throw intranet and it does not 
 > work,<BR>the server machine is apache in Linux operating system<BR>and the 
 > client machine is in Windows 2000.<BR><BR>I need to know if i have something 
 > wrong in the source<BR>code or if is the URL or something else<BR>P.S. the 
 > external IP address is 
 > 63.74.31.2<BR><BR><BR>__________________________________________________<BR>Correo
 >  
 > Yahoo!<BR>Espacio para todos tus mensajes, antivirus y 
 > antispam<BR>¡gratis!<BR>Regístrate ya - <A 
 > href="http://correo.espanol.yahoo.com/";>http://correo.espanol.yahoo.com/</A><BR><BR>__________________________________________________<BR>Correo
 >  
 > Yahoo!<BR>Espacio para todos tus mensajes, antivirus y antispam 
 > ¡gratis!<BR>Regístrate ya - <A 
 > href="http://correo.espanol.yahoo.com/";>http://correo.espanol.yahoo.com/</A> 
 > </FONT></P></DIV>
 > 
 > </BODY>
 > </HTML>_________________________________________________________________________________
 > mozart-users mailing list                               
 > [email protected]
 > http://www.mozart-oz.org/mailman/listinfo/mozart-users

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to