Lines Matching refs:port
1508 uint16_t port = USE_DEFAULT_PORT;
1518 /* determine if the host name contains a port number */
1522 if (sscanf(s + 1, "%hu", &port) != 1) {
1527 "port number for the "
1540 port,
2191 uint16_t port, int timeoutMilliSec,
2238 *ldp = ldapssl_init(serverAddr, port, 1);
2258 * server - \[IPv6_address\][:port]
2259 * - IPv4_address[:port]
2260 * - hostname[:port]
2263 * including the port number, if specified in server argument.
2284 unsigned short port = 0;
2289 /* Determine if the host name contains a port number. */
2295 if (sscanf(s + 1, "%hu", &port) != 1) {
2296 /* Address misformatted. No port number after : */
2298 gettext("Invalid host:port format"));
2301 /* Cut off the :<port> part. */
2334 /* Put together the address and the port */
2335 if (port > 0) {
2339 /* [IP]:<port>\0 */
2343 port);
2348 /* IP:<port>\0 */
2352 port);
2371 uint16_t port, int gssapi,
2377 /* [INET6_ADDRSTRLEN]:<port>\0 */
2411 if ((*ldp = ldap_init((char *)serverAddr, port)) == NULL) {
2428 * port - a port being listened by the server,
2440 uint16_t port, int timeoutMilliSec,
2464 if (port == USE_DEFAULT_PORT) {
2465 port = useSSL ? LDAPS_PORT : LDAP_PORT;
2473 return (createTLSSession(auth, serverAddr, port,
2476 return (createNonTLSSession(serverAddr, port, gssapi,