Lines Matching refs:port
50 fprintf(stderr, "tcpconnect server port\n");
51 fprintf(stderr, "tcpconnect client ip port count [nonblock] [tcpmd5]\n");
61 long port;
71 port = strtoul(argv[0], &dummy, 10);
72 if (port < 1 || port > 65535 || *dummy != '\0')
74 sin.sin_port = htons(port);
96 long count, i, port;
116 port = strtoul(argv[1], &dummy, 10);
117 if (port < 1 || port > 65535 || *dummy != '\0')
119 sin.sin_port = htons(port);