Searched refs:sock_opt (Results 1 – 3 of 3) sorted by relevance
84 self.sock_opt = sock_opt(sockopt, sslopt)132 return self.sock_opt.timeout140 self.sock_opt.timeout = timeout210 self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),
46 class sock_opt(object): class
1532 static PRSocketOptionData sock_opt; in nss_set_nonblock() local1533 sock_opt.option = PR_SockOpt_Nonblocking; in nss_set_nonblock()1534 sock_opt.value.non_blocking = PR_TRUE; in nss_set_nonblock()1536 if(PR_SetSocketOption(connssl->handle, &sock_opt) != PR_SUCCESS) in nss_set_nonblock()