Lines Matching full:port
66 /* allocate port and bind */
207 /* returns the port bound to, or -1 on failure.
208 * Will attempt to bind to a port X11BINDBASE (6010 usually) or upwards */
212 uint16_t port;
219 for (port = X11BINDBASE; port < X11BINDBASE + 2000; port++) {
220 addr.sin_port = htons(port);
224 return port;
227 /* try the next port */