Please post support and help requests here.
by dandan607 » 12 Jun 2012, 10:42
How can i get local IP address using POCO library?
-
dandan607
-
- Posts: 3
- Joined: 12 Jun 2012, 10:29
by alex » 12 Jun 2012, 20:39
- Code: Select all
NetworkInterface::NetworkInterfaceList list = NetworkInterface::list();
NetworkInterface::NetworkInterfaceList::const_iterator it = list.begin();
for (; it != list.end(); ++it)
std::cout << "Address: " << it->address().toString() << std::endl;
-
alex
-
- Posts: 976
- Joined: 11 Jul 2006, 16:27
- Location: United_States
by dandan607 » 13 Jun 2012, 03:52
There are muliple addresses.How can i get the Ethernet adapter IP address?
-
dandan607
-
- Posts: 3
- Joined: 12 Jun 2012, 10:29
Return to Support
Who is online
Users browsing this forum: No registered users and 1 guest