PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 28
→
NetListIPAddress function only returns an IP
NetListIPAddress function only returns an IP
Started by Hoelb, May, 03 2023 5:05 PM - 1 reply
Connect yourself…
Hoelb
#1
Posted on May, 03 2023 - 5:05 PM
Hello!
When querying a computer in the network, the NetListIPAddress function only returns an IP.
Even if several network cards are active.
e.g. NetListIPAddress("Server") executed on a client returns only 1 IP address.
If it is run on the computer in question without specifying the PC name, all available IP addresses are returned.
NetListIPAddress() executed on the server returns all available IP addresses with CR separated.
Am I doing something wrong.
thank you for your help
Report
0
0
Hoelb
#2
Posted on May, 24 2023 - 5:53 PM
Response from Technical Support - Thank you
Hi,
Because that's how this function works.
When called locally (ie without parameters), the function enumerate all network interfaces on the computer and get their respective addresses.
When called with a name, it does a DNS resolution and returns the corresponding results.
For example, if you try NetListIPAddress("ftp.pcsoft.fr"), you'll get four answers.
The Free Technical Support is entirely at your service.
Report
0
0
→ Go back to WINDEV 28
WINDEV 28
WEBDEV 28
WINDEV Mobile 28
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text