X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e54fbe1822f4c536eb1f26476e95a8bb53d9511f..a9cb053146d2f1dc73e536ed87597f458deebea3:/Server/src/receiver.h diff --git a/Server/src/receiver.h b/Server/src/receiver.h index 8be4e30..6de8634 100644 --- a/Server/src/receiver.h +++ b/Server/src/receiver.h @@ -50,8 +50,12 @@ namespace Plaqui { * \param port Puerto por el cual recibir estado de la planta. * \param host Host del cual recibir el estado de la planta. */ - Receiver(int port = 7528 /*, std::string host = "localhost"*/): - Connection(sockbuf::sock_dgram) { socket->bind(port); } + Receiver(int port = 7528, std::string host = "localhost"); + + /** + * Recibe la transmisiĆ³n. + */ + virtual void run(void); };