Home
last modified time | relevance | path

Searched refs:bind_port (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_timeout.py245 support.bind_port(self.sock, self.localhost)
252 support.bind_port(serv, self.localhost)
261 support.bind_port(serv, self.localhost)
271 support.bind_port(serv, self.localhost)
290 support.bind_port(self.sock, self.localhost)
Dtest_asynchat.py30 self.port = support.bind_port(self.sock)
Dtest_telnetlib.py29 self.port = support.bind_port(self.sock)
Dtest_support.py106 support.bind_port(s)
Dtest_poplib.py478 self.port = test_support.bind_port(self.sock)
/external/python/cpython2/Misc/NEWS.d/
D2.6a3.rst273 issue. test_support.bind_port() has been fixed such that it will always
277 bind_port() will actually raise an exception if it is passed an
279 socket option set. Furthermore, if available, bind_port() will set the
286 bind_port() has been removed. Under no circumstances should tests be hard
290 temporary socket object to bind_port() in order to obtain an unused port.
D2.7a3.rst421 test_timeout was changed to use ``test_support.bind_port()`` instead of a
/external/iperf3/src/
Diperf_sctp.c302 lcladdr->sin_port = htons(test->bind_port); in iperf_sctp_connect()
316 else if (test->bind_port) { in iperf_sctp_connect()
324 lcladdr->sin_port = htons(test->bind_port); in iperf_sctp_connect()
332 lcladdr->sin6_port = htons(test->bind_port); in iperf_sctp_connect()
Diperf_tcp.c410 lcladdr->sin_port = htons(test->bind_port); in iperf_tcp_connect()
424 else if (test->bind_port) { in iperf_tcp_connect()
432 lcladdr->sin_port = htons(test->bind_port); in iperf_tcp_connect()
440 lcladdr->sin6_port = htons(test->bind_port); in iperf_tcp_connect()
Diperf_client_api.c63 int orig_bind_port = test->bind_port; in iperf_create_streams()
66 test->bind_port = orig_bind_port; in iperf_create_streams()
68 test->bind_port += i; in iperf_create_streams()
Diperf_locale.c228 const char bind_port[] = variable
Diperf.h256 int bind_port; /* --cport option */ member
Diperf_udp.c479 …if ((s = netdial(test->settings->domain, Pudp, test->bind_address, test->bind_port, test->server_h… in iperf_udp_connect()
/external/python/cpython2/Lib/test/
Dtest_timeout.py152 test_support.bind_port(self.sock, self.localhost)
170 test_support.bind_port(self.sock, self.localhost)
Dtest_nntplib.py40 self.port = test_support.bind_port(self.sock)
Dtest_telnetlib.py49 self.port = test_support.bind_port(self.sock)
108 self.port = test_support.bind_port(self.sock)
397 self.port = test_support.bind_port(self.sock)
Dtest_smtplib.py51 self.port = test_support.bind_port(self.sock)
277 self.port = test_support.bind_port(self.sock)
307 self.port = test_support.bind_port(self.sock)
Dtest_asynchat.py29 self.port = test_support.bind_port(self.sock)
Dtest_poplib.py302 self.port = test_support.bind_port(self.sock)
Dtest_httplib.py717 self.port = test_support.bind_port(self.serv)
769 TimeoutTest.PORT = test_support.bind_port(self.serv)
Dtest_test_support.py118 support.bind_port(s)
Dtest_ssl.py1805 self.port = support.bind_port(self.sock)
1910 self.port = support.bind_port(sock, '')
2248 port = support.bind_port(s, HOST)
2679 port = support.bind_port(server)
2733 port = support.bind_port(server)
Dtest_asyncore.py358 port = test_support.bind_port(sock)
/external/libevent/
Dhttp-internal.h65 ev_uint16_t bind_port; /* local port for binding the src */ member
/external/python/cpython2/Lib/test/support/
D__init__.py502 port = bind_port(tempsock)
507 def bind_port(sock, host=HOST): function

12