Lines Matching defs:port
425 /* if the host name starts with test, the port number used in the
1062 unsigned short port = DEFAULT_PORT;
1119 else if(!strcmp("--port", argv[arg])) {
1124 port = curlx_ultous(ulnum);
1144 " --port [port]\n"
1190 me.sa4.sin_port = htons(port);
1198 me.sa6.sin6_port = htons(port);
1204 logmsg("Error binding socket on port %hu: (%d) %s",
1205 port, error, sstrerror(error));
1209 if(!port) {
1210 /* The system was supposed to choose a port number, figure out which
1211 port we actually got and update the listener port value with it. */
1232 port = ntohs(localaddr.sa4.sin_port);
1236 port = ntohs(localaddr.sa6.sin6_port);
1242 if(!port) {
1243 /* Real failure, listener port shall not be zero beyond this point. */
1244 logmsg("Apparently getsockname() succeeded, with listener port zero.");
1252 logmsg("Running %s version on port %d", ipv_inuse, (int)port);
1273 wroteportfile = write_portfile(portname, port);
1399 logmsg("========> %s rtspd (port: %d pid: %ld) exits with signal (%d)",
1400 ipv_inuse, (int)port, (long)getpid(), exit_signal);