add: assert(port < (flagset_len * 8));
context: bool netcat_flag_get(unsigned short port){  register char *p = flagset + (int) (port / 8);  assert(flagset);  if (*p & (1 << (port % 8)))    return TRUE;  else    return FALSE;}