Lines Matching refs:sopt
397 int sopt;
398 if (TranslateOption(opt, &slevel, &sopt) == -1)
403 return ::getsockopt(socket_, slevel, sopt, p, &optlen);
408 int sopt;
409 if (TranslateOption(opt, &slevel, &sopt) == -1)
413 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value));
572 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) {
576 *sopt = IP_DONTFRAGMENT;
580 *sopt
584 *sopt = SO_SNDBUF;
588 *sopt = TCP_NODELAY;