Lines Matching defs:sock
101 PRFileDesc *sock;
112 sock = PR_NewTCPSocket();
113 PR_Connect(sock, &addr, PR_INTERVAL_NO_TIMEOUT);
114 PR_Write(sock, buf, sizeof(buf));
115 PR_Close(sock);
323 PRFileDesc *sock;
326 sock = PR_Accept(fds[j], NULL, PR_INTERVAL_NO_TIMEOUT);
327 if (sock == NULL) {
331 other_fds[nextIndex] = sock;
332 PR_FD_SET(sock, &readFdSet);