extent_client.cc
extent_client::extent_client(std::string dst)
{
  sockaddr_in dstsock;
  make_sockaddr(dst.c_str(), &dstsock);
  cl = new rpcc(dstsock);
  if (cl->bind() != 0) {
    printf("extent_client: bind failed\n");
  }
}
// The calls assume that the caller holds a lock on the extent
The calls assume that the caller holds a lock on the extent
The calls assume that the caller holds a lock on the extent
extent_client::extent_client(std::string dst)
{
  sockaddr_in dstsock;
  make_sockaddr(dst.c_str(), &dstsock);
  cl = new rpcc(dstsock);
  if (cl->bind() != 0) {
    printf("extent_client: bind failed\n");
  }
}
extent_client :: extent_client ( std :: string dst ) { sockaddr_in dstsock ; make_sockaddr ( dst . c_str ( ) , & dstsock ) ; cl = new rpcc ( dstsock ) ; if ( cl -> bind ( ) != 0 ) { printf ( " \n " ) ; } }
The calls assume that the caller holds a lock on the extent
The calls assume that the caller holds a lock on the extent