Lines Matching defs:port
82 unsigned short port, startPort = 0;
95 /* So, for Ultrix we just default to the default default port :-) */
100 DPSWarnProc(NULL, "Creating TCP socket while recommending port\n");
110 a prioi what port is free, so we try to bind to each
121 "Couldn't set TCP SO_DONTLINGER while recommending port.");
130 for (port = startPort; (int) port < (int) startPort + CSDPSMAXPORT; port++)
133 insock.sin_port = htons(port);
141 DPSWarnProc(NULL, "Binding TCP socket while recommending port.\n");
149 /* We have a good port number */
155 return (okay) ? port : -1;