109
121
/** does domain end on suffix? Is smart about "wwwds9a.nl" "ds9a.nl" not matching */
110
122
bool endsOn(const string &domain, const string &suffix)
114
126
if(domain.size()<=suffix.size())
120
140
int sendData(const char *buffer, int replen, int outsock)
122
142
uint16_t nlen=htons(replen);