Lines Matching refs:try_bind
1756 def try_bind(port, socket_type, socket_proto):1768 # On the 2.6 kernel, calling try_bind() on UDP socket returns the1772 port = try_bind(0, socket.SOCK_STREAM, socket.IPPROTO_TCP)1774 if port and try_bind(port, socket.SOCK_DGRAM, socket.IPPROTO_UDP):