1234567891011121314
void sender() { char buf[256] =""; do{ cin.getline(buf,256); send(s,buf,sizeof(buf),0); }while((buf[0] != '-') && (buf[1] != 'q')); return; }
! (buf[0] == '-' && buf[1] == 'q')
buf[0] != '-' || buf[1] = 'q'
strcmpi(buf, "-q")