Lines Matching refs:port
70 tcp_client(pid_t partner, u_short port, int secs)
89 sin.sin_port = port;
116 u_short port;
132 * We use the loopback, but let the kernel select a port for the
147 * Query the port so that the client can use it.
155 port = sin.sin_port;
156 printf("Using port %d\n", ntohs(port));
167 tcp_client(parent_pid, port, 1);
180 * We use the loopback, but let the kernel select a port for the
195 * Query the port so that the client can use it.
203 port = sin.sin_port;
204 printf("Using port %d\n", ntohs(port));
214 tcp_client(child_pid, port, 800);