Home | History | Annotate | Download | only in Networking

Lines Matching refs:fSockfd

21     fSockfd = this->createSocket();
25 this->closeSocket(fSockfd);
26 shutdown(fSockfd, 2); //stop sending/receiving
146 // h.done, h.bytes, fSockfd, attempts);
250 if (bind(fSockfd, (sockaddr*)&serverAddr, sizeof(serverAddr)) < 0) {
264 listen(fSockfd, MAX_WAITING_CLIENTS);
270 FD_SET(fSockfd, &workingSet);
274 int sel = select(fSockfd + 1, &workingSet, NULL, NULL, &timeout);
284 newfd = accept(fSockfd, (struct sockaddr*)&clientAddr, &clientLen);
313 //Add fSockfd since the client will be using it to read/write
314 this->addToMasterSet(fSockfd);
330 SkASSERT(sockfd == fSockfd);
331 this->closeSocket(fSockfd);
332 fSockfd = this->createSocket();
333 //Add fSockfd since the client will be using it to read/write
334 this->addToMasterSet(fSockfd);
343 int conn = connect(fSockfd, (sockaddr*)&fServerAddr, sizeof(fServerAddr));
351 this->onFailedConnection(fSockfd);