+
+void Receiver::run(void) {
+ // FIXME - debería tirar una excepción?
+ if (!socket->is_open()) {
+ std::cerr << "No se pudo conectar a " << socket->peerhost() <<
+ ":" << socket->peerport() << "." << std::endl;
+ } else {
+ std::cerr << "Conectado a " << socket->peerhost() <<
+ ":" << socket->peerport() << "." << std::endl;
+ }
+}