Que te retorna cuando haces ping?

PING RMTSYS(WWW.GOOGLE.COM)
     Verifying connection to host system www.l.GOOGLE.COM at address
       209.85.135.99.
     PING reply 1 from 209.85.135.99 took 25 ms. 256 bytes. TTL 247.
     PING reply 2 from 209.85.135.99 took 24 ms. 256 bytes. TTL 247.
     PING reply 3 from 209.85.135.99 took 24 ms. 256 bytes. TTL 247.
     PING reply 4 from 209.85.135.99 took 22 ms. 256 bytes. TTL 247.
     PING reply 5 from 209.85.135.99 took 24 ms. 256 bytes. TTL 247.
     Round-trip (in milliseconds) min/avg/max = 22/23/25.
     Connection verification statistics: 5 of 5 successful (100 %).


La utilidad que comentas no la conozco en concreto, pero si el i5 está
correctamente conectado a InterNet (y con el ping lo certificarás) no tienes
que tener problemas con los sockets en RPG.

-- 
Fins aviat...
Àlex Corretgé

http://bloc.corretge.cat/



2008/2/19 Pedro Molina <[EMAIL PROTECTED]>:

>  Hola foreros !!
>
> Por casualidad alguno de ustedes ha utilizado los API's de una utilidad
> creada por Robert Cossi, ahi hay un programa que se llama GETGOOGLE y es
> para conectarse a una pagina HTML de google,de hecho esta es la descripcion
> de lo que hace el programa:
> GETGOOGLE - This program illustrates how to use iSockets
> to read a given html page from a given domain.
> Google.com is used as the domain name, but any domain
> that uses index.html as its homepage may be accessed.
> You can change the domain and the home page easily
> enough by modifying the szPage field and the call
> to the OpenURL statement.
>
> Once the page is retrieved, the HTML is written out to
> the joblog using the iSockets' JOBLOG() subprocedure.
>
>
>  pero al correr el programa me da el siguiente error:
>
> *call getgoogle
> OpenURL(**www.google.com:80* <http://www.google.com:80>*)
>
> inet_addr(**www.google.com* <http://www.google.com>*) failed. errno(3021)
> El valor especificado para
>   el argumento no es correcto.
> Attempting gethostbyname(**www.google.com* <http://www.google.com>*)
>
> gethostbyname(**www.google.com* <http://www.google.com>*) failed. errno(0)
> No hay ningún error.     *
>
> Obviamente la utilidad está hecha en RPG, talvez alguien en el foro ha
> utilizado este programa y me pueda decir que me hace falta para que este
> programa se ejecute con exito.
>
> Salu2 !!
>
> ------------------------------
> Discover the new Windows Vista Learn 
> more!<http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
>
> __________________________________________________
> Forum.HELP400 es un servicio m&#225;s de NEWS/400.
> &#169; Publicaciones Help400, S.L. - Todos los derechos reservados
> http://www.help400.es
> _____________________________________________________
>
> Para darte de baja visita la siguente URL:
> http://listas.combios.es/mailman/listinfo/forum.help400
>
__________________________________________________
Forum.HELP400 es un servicio m&amp;#225;s de NEWS/400.
&amp;#169; Publicaciones Help400, S.L. - Todos los derechos reservados
http://www.help400.es
_____________________________________________________

Para darte de baja visita la siguente URL:
http://listas.combios.es/mailman/listinfo/forum.help400

Responder a