RE:Para algun maestro que me pueda ayudar
hola, primero que todo no soy ningun maestro, pero eso si, vb me ha dado de comer mucho tiempo y se un poquito, yo tengo un .bas con el que leo el nombre de las maquina y su respectivo IP tanto local como remotamente, no tengo ni la menor idea de como funcionan en su totalidad estas apis, pero a mi me sirven asi que pruebalas y mucha suerte, ahi te van
Private Declare Function WSAGetLastError Lib "WSOCK32.DLL" () As Long
Private Declare Function WSAStartup Lib "WSOCK32.DLL" (ByVal wVersionRequired&, lpWSAData As WSADATA) As Long
Private Declare Function WSACleanup Lib "WSOCK32.DLL" () As Long
Private Declare Function gethostname Lib "WSOCK32.DLL" (ByVal HostName$, ByVal HostLen As Long) As Long
Private Declare Function gethostbyname Lib "WSOCK32.DLL" (ByVal HostName$) As Long
Private Declare Sub RtlMoveMemory Lib "KERNEL32" (hpvDest As Any, ByVal hpvSource&, ByVal cbCopy&)