Changeset 9443 in orxonox.OLD for branches/proxy
- Timestamp:
- Jul 24, 2006, 5:47:06 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/ip.cc
r9441 r9443 111 111 IP::IP(unsigned int first, unsigned int second, unsigned int third, unsigned int fourth, int port) 112 112 { 113 this->_host = (f irst<< 24) +114 ( second << 16) +115 ( third << 8) +116 fourth;113 this->_host = (fourth << 24) + 114 (third << 16) + 115 (second << 8) + 116 (first); 117 117 this->_port = port; 118 118 } … … 270 270 271 271 #warning ip and ports are not handled correctly 272 // if (port != -1)273 // addr += ":" + MultiType(port).getString();272 // if (port != -1) 273 // addr += ":" + MultiType(port).getString(); 274 274 return addr; 275 275 } -
branches/proxy/src/lib/network/monitor/network_stats_widget.cc
r9442 r9443 141 141 */ 142 142 NetworkStatsWidget::NetworkStatsWidget(const NetworkMonitor* monitor) 143 : GLGuiBox(OrxGui::Vertical), _thisHost("myName", IP(127, 0, 0 , 0))143 : GLGuiBox(OrxGui::Vertical), _thisHost("myName", IP(127, 0, 0 , 1)) 144 144 { 145 145 this->_monitor = monitor;
Note: See TracChangeset
for help on using the changeset viewer.