Changeset 11370
- Timestamp:
- 07/13/11 14:50:06 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Connection.cc
r11260 r11370 461 461 } 462 462 463 void Connection::SetEndpoint(const boost::asio::ip::tcp::endpoint &ep) 464 { 465 SetEndpoint(ep.address().to_string(), ep.port()); 466 fEndpoint = ep; 467 } 463 468 464 469 -
trunk/FACT++/src/Connection.h
r11260 r11370 105 105 void SetEndpoint(const std::string &addr, const std::string &port); 106 106 void SetEndpoint(const std::string &addr); 107 void SetEndpoint(const boost::asio::ip::tcp::endpoint &ep) { fEndpoint = ep; }107 void SetEndpoint(const boost::asio::ip::tcp::endpoint &ep); 108 108 109 109 void StartConnect();
Note:
See TracChangeset
for help on using the changeset viewer.