Searched defs:bind_port (Results 1 - 4 of 4) sorted by relevance

/external/libevent/
H A Dhttp-internal.h65 ev_uint16_t bind_port; /* local port for binding the src */ member in struct:evhttp_connection
/external/syslinux/gpxe/src/net/
H A Dtcp.c219 unsigned int bind_port; local
237 bind_port = ( st_local ? st_local->st_port : 0 );
238 if ( ( rc = tcp_bind ( tcp, bind_port ) ) != 0 )
/external/python/cpython2/Lib/test/
H A Dtest_support.py33 "find_unused_port", "bind_port",
440 Either this method or bind_port() should be used for any tests where a
445 s_server mode). Always prefer bind_port() over find_unused_port() where
487 port = bind_port(tempsock)
492 def bind_port(sock, host=HOST): function
/external/python/cpython3/Lib/test/support/
H A D__init__.py98 "HOST", "IPV6_ENABLED", "find_unused_port", "bind_port", "open_urlresource",
621 Either this method or bind_port() should be used for any tests where a
626 s_server mode). Always prefer bind_port() over find_unused_port() where
670 port = bind_port(tempsock)
675 def bind_port(sock, host=HOST): function

Completed in 109 milliseconds