Home
last modified time | relevance | path

Searched refs:got_port (Results 1 – 2 of 2) sorted by relevance

/external/libevent/sample/
Dhttp-server.c385 int got_port = -1; in main() local
393 got_port = ntohs(((struct sockaddr_in*)&ss)->sin_port); in main()
396 got_port = ntohs(((struct sockaddr_in6*)&ss)->sin6_port); in main()
406 printf("Listening on %s:%d\n", addr, got_port); in main()
408 "http://%s:%d",addr,got_port); in main()
/external/grpc-grpc/test/core/end2end/
Ddualstack_socket_test.cc83 int got_port; in test_connect() local
113 GPR_ASSERT((got_port = grpc_server_add_insecure_http2_port( in test_connect()
116 port = got_port; in test_connect()
118 GPR_ASSERT(port == got_port); in test_connect()