Lines Matching defs:port
43 int port;
48 fputs("Usage: test [port] -- server\n"
49 " test num.num.num.num [port] -- client\n", stderr);
86 sscanf(argv[2], "%d", &port);
88 port = C_PORT;
89 addr.sin_port = htons(port);
116 sscanf(argv[1], "%d", &port);
118 port = L_PORT;
120 addr.sin_port = htons(port);
136 fprintf(stderr, "Listening at port %i.\n", port);