Remote and serial use the resolve function and must link with mspnet
directly. Adding an empty destructor to server.cpp avoids generating
a default destructor for StreamServerSocket in files that #include
server.h.
{
source "source/remote";
require "gtkmm-2.4";
+ require "mspnet";
use "r2c2";
use "r2c2_net";
};
program "serial"
{
source "source/serial";
+ require "mspnet";
use "r2c2";
use "r2c2_net";
};
listen_sock.signal_data_available.connect(sigc::mem_fun(this, &Server::incoming_connection));
}
+Server::~Server()
+{ }
+
void Server::use_event_dispatcher(IO::EventDispatcher &ed)
{
event_disp = &ed;
public:
Server(Layout &);
+ ~Server();
+
void use_event_dispatcher(Msp::IO::EventDispatcher &);
private:
void incoming_connection();