Home | History | Annotate | Download | only in recvmsg

Lines Matching refs:newfd

452 			int newfd;
455 newfd = accept(sfd, (struct sockaddr *)&fsin, &fromlen);
456 if (newfd >= 0) {
457 FD_SET(newfd, &afds);
458 nfds = MAX(nfds, newfd + 1);
460 (void)write(newfd, "hoser\n", 6);
464 int newfd;
467 newfd = accept(ufd, (struct sockaddr *)&fsun, &fromlen);
468 if (newfd >= 0) {
469 FD_SET(newfd, &afds);
470 nfds = MAX(nfds, newfd + 1);