Home | History | Annotate | Download | only in mDNSShared

Lines Matching refs:tcpsd

1168 	self->tcpsd = socket( AF_INET, SOCK_STREAM, 0 );
1169 require_action( dnssd_SocketValid(self->tcpsd), exit, err = mStatus_UnknownErr; LogErr( "SetupSockets", "socket" ) );
1172 err = setsockopt(self->tcpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn));
1173 require_action( !err, exit, LogErr( "SetupSockets", "SO_REUSEADDR self->tcpsd" ) );
1176 err = bind( self->tcpsd, ( struct sockaddr* ) &self->addr, sizeof( self->addr ) );
1177 require_action( !err, exit, LogErr( "SetupSockets", "bind self->tcpsd" ) );
1179 err = listen( self->tcpsd, LISTENQ );
1202 self->llq_tcpsd = self->tcpsd;
2853 if ( d->tcpsd + 1 > staticMaxFD ) staticMaxFD = d->tcpsd + 1;
2885 FD_SET( d->tcpsd, &rset );
2912 close( d->tcpsd );
2917 d->tcpsd = d->udpsd = d->tlssd = d->llq_tcpsd = d->llq_udpsd = -1;
2960 if (FD_ISSET(d->tcpsd, &rset)) AcceptTCPConnection( d, d->tcpsd, 0 );