SoloCodigo
Programación General => Visual Basic 6.0 e inferiores => Mensaje iniciado por: tilapia en Lunes 28 de Abril de 2008, 04:32
-
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
-
Y porque no utilizas la propiedad RemoteHostIP?
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.
http://msdn2.microsoft.com/en-us/library/a...150(VS.60).aspx (http://msdn2.microsoft.com/en-us/library/aa228150(VS.60).aspx)
-
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