#include <cstdio> #include "common.h" void Address::print() const { printf("%hhu.%hhu.%hhu.%hhu:%hu", ip[0], ip[1], ip[2], ip[3], port); }