#include "member.h"
#include "../rpc/rpc.h"

member::member(std::string hostname) {
    this->hostname = hostname;
    make_sockaddr(hostname.c_str(), &addr);
    cid = 0;
}

member::member(std::string hostname, int cid) 
{
    this->hostname = hostname; 
    make_sockaddr(hostname.c_str(),&addr);
    this->cid = cid;
}





