Lines Matching full:slisten
131 int slisten,rc,to,try_next;
176 slisten = qemu_socket(e->ai_family, e->ai_socktype, e->ai_protocol);
177 if (slisten < 0) {
183 setsockopt(slisten,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on));
187 setsockopt(slisten,IPPROTO_IPV6,IPV6_V6ONLY,(void*)&off,
193 if (bind(slisten, e->ai_addr, e->ai_addrlen) == 0) {
210 closesocket(slisten);
217 if (listen(slisten,1) != 0) {
219 closesocket(slisten);
229 return slisten;