Searched refs:udpPort (Results 1 - 1 of 1) sorted by relevance

/system/extras/tests/bionic/libc/common/
H A Dtest_udp.c39 int udpPort = DEFAULT_PORT; local
54 udpPort = atoi(optName+1);
55 if (udpPort < 1024 || udpPort > 65535) {
82 si_me.sin_port = htons(udpPort);
87 printf("UDP server listening on %s:%d\n", inet_ntoa(si_me.sin_addr), udpPort);
105 si_other.sin_port = htons(udpPort);
108 printf("UDP client sending packets to %s:%d\n", inet_ntoa(si_other.sin_addr), udpPort);

Completed in 135 milliseconds