Discussion:
Hacer ping a un IP con VB
(demasiado antiguo para responder)
Rubén Vigón
2006-11-21 09:32:17 UTC
Permalink
IcmpSendEcho: Ping a machine by IP address
http://vbnet.mvps.org/code/internet/ping.htm

IcmpSendEcho: Ping a machine by host name
http://vbnet.mvps.org/code/internet/pingbyhostname.htm

Un saludo!

Rubén Vigón
Microsoft MVP Visual Basic
http://vigon.mvps.org
Fabian
2006-11-21 12:19:13 UTC
Permalink
Hola Rubén, y si el servidor fuese de mails (smtp) y necesito ver si esta
funcionando, si responde ?
Gracias
Fabian
"Rub�n Vig�n" <***@ESTOmvps.org> escribi� en el mensaje news:%238n2w$***@TK2MSFTNGP03.phx.gbl...
IcmpSendEcho: Ping a machine by IP address
http://vbnet.mvps.org/code/internet/ping.htm

IcmpSendEcho: Ping a machine by host name
http://vbnet.mvps.org/code/internet/pingbyhostname.htm

Un saludo!

Rubén Vigón
Microsoft MVP Visual Basic
http://vigon.mvps.org
Rubén Vigón
2006-11-21 12:48:07 UTC
Permalink
Hola Fabián,

Envíale un comando «EHLO» (ó «HELO») al servidor SMTP por el puerto 25. Si el servidor está funcionando, te responderá con un código 250

Un saludo!

Rubén Vigón
Microsoft MVP Visual Basic
http://vigon.mvps.org
Fabian
2006-11-21 14:14:38 UTC
Permalink
Gracias Ruben, lo probaré.
"Rub�n Vig�n" <***@ESTOmvps.org> escribi� en el mensaje news:***@TK2MSFTNGP04.phx.gbl...
Hola Fabián,

Envíale un comando «EHLO» (ó «HELO») al servidor SMTP por el puerto 25.
Si el servidor está funcionando, te responderá con un código 250

Un saludo!

Rubén Vigón
Microsoft MVP Visual Basic
http://vigon.mvps.org

hanpat
2006-11-21 12:32:41 UTC
Permalink
Gracias... un poquitín complicado pero veré el código.
Hola a todos.
Necesito hacer ping a un servidor que debe estar habilitado antes que los
usuarios se identifiquen.
Cómo puedo hacerlo desde VB?
Muchas gracias de antemano.
Loading...