Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NBTSTAT -S utility

0 views
Skip to first unread message

DJP

unread,
Feb 1, 1999, 3:00:00 AM2/1/99
to
Hi,

I'm working on a program which tracks network connections. I'm
interested to get the IP address of a connected computer. It's no
problem to get the computername (use NetSessionEnum() e.g.) but I don't
seem to be able to get it's IP.

I tried resolving by using Netbios() call, but in case it's out of your
domain, it won't find the correct IP address. Also using this function,
anyone could provide false computernames to gain access.

It's strange how easy NBTSTAT -S gets the IP and interrestingly enough
also the data throughput! I have been looking at the helpfiles for a
long time and I can't find a function, which can do these things...

Is this maybe one of those undocumented hidden functions ??

Anyone know how this can be done ?
Any suggestions ?

T.I.A.
Jean-Paul


0 new messages