#endif // DEBUG
}
-Connection::Connection(const sockbuf::type& type):
- socket(type) {
+Connection::Connection(const sockbuf::type& type, const std::string& host,
+ const Port& port): socket(type), host(host), port(port) {
#ifdef DEBUG
- cerr << __FILE__ << ": type = " << type << endl;
+ cerr << __FILE__ << ": type = " << type << " | host = " << host
+ << " | port = " << port << endl;
#endif // DEBUG
}