Last change
on this file since 17168 was 14955, checked in by tbretz, 12 years ago |
Use an IP Address from the internal network to find the correct IP Address. In all other cases the traffic could be routed through the external address which would lead wrong results.
|
File size:
296 bytes
|
Line | |
---|
1 | #ifndef FACT_DimSetup
|
---|
2 | #define FACT_DimSetup
|
---|
3 |
|
---|
4 | #include <string>
|
---|
5 |
|
---|
6 | namespace Dim
|
---|
7 | {
|
---|
8 | //std::string GetLocalIp(const std::string &dns="192.168.0.255");
|
---|
9 | std::string GetLocalIp(const std::string &dns="10.0.100.1");
|
---|
10 | void Setup(const std::string &dns="", const std::string &host="");
|
---|
11 | }
|
---|
12 |
|
---|
13 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.