Programación General > Visual Basic 6.0 e inferiores

 Obtener La Ip De Un Host Remoto Con Winsock

(1/1)

tilapia:
Hola estoy haciendo un pequeño software de cafe internet y necesito que a partir de un nombre de maquima remota me muestre la ip y el nombre del grupo de trabajo al que pertence ese computador

espero me ayuden

gracias

posman:
Y porque no utilizas la propiedad RemoteHostIP?


--- Citar ---Returns the IP address of the remote machine.

* For client applications, after a connection has been established using the Connect method, this property contains the IP string of the remote machine.
* For server applications, after an incoming connection request (ConnectionRequest event), this property contains the IP string of the remote machine that initiated the connection.
* When using the UDP protocol, after the DataArrival event occurs, this property contains the IP address of the machine sending the UDP data.

--- Fin de la cita ---
http://msdn2.microsoft.com/en-us/library/a...150(VS.60).aspx

tilapia:
bien, gracias por tu ayuda pero lo que necesito es saber si es posible obtener el nombre de la red (grupo de trabajo) con winsock

Navegación

[0] Índice de Mensajes

Ir a la versión completa