-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
iamyangchen
committed
May 19, 2016
1 parent
9990816
commit 2e135bf
Showing
56 changed files
with
4,820 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/src/Main.cpp 2010-11-29 02:32:57.000000000 -0600 | ||
+++ b/src/Main.cpp 2011-02-21 20:31:12.508249057 -0600 | ||
@@ -498,6 +498,10 @@ int main(int argc, char *argv[]) | ||
// instance a API server, first create a socket | ||
components.push_back( new ApiServer(lo.interface, lo.port) ); | ||
IBRCOMMON_LOGGER(info) << "API initialized using tcp socket: " << lo.interface.getAddress() << ":" << lo.port << IBRCOMMON_LOGGER_ENDL; | ||
+ | ||
+ lo = Configuration::NetConfig("local", Configuration::NetConfig::NETWORK_TCP, ibrcommon::NetInterface("br-lan"), 4550); | ||
+ components.push_back( new ApiServer(lo.interface, lo.port) ); | ||
+ IBRCOMMON_LOGGER(info) << "API initialized using tcp socket: " << lo.interface.getAddress() << ":" << lo.port << IBRCOMMON_LOGGER_ENDL; | ||
} catch (ibrcommon::SocketException ex) { | ||
IBRCOMMON_LOGGER(error) << "Unable to bind to " << lo.interface.getAddress() << ":" << lo.port << ". API not initialized!" << IBRCOMMON_LOGGER_ENDL; | ||
exit(-1); |
Oops, something went wrong.