def bind(self, server, net=None, address=None):
        if _debug: NetworkServiceAccessPoint._debug("bind %r net=%r address=%r", server, net, address)

        if (net is None) and self.adapters:
            raise RuntimeError("already bound")

        # create an adapter object
        adapter = NetworkAdapter(self, net)

        # if the address was given, make it the "local" one
        if address:
            self.localAdapter = adapter
            self.localAddress = address

        # bind to the server
        bind(adapter, server)

    #-----
Returns the user ID
dataset/ETHPy150Open JoelBender/bacpypes/py25/bacpypes/netservice.py/NetworkServiceAccessPoint.bind--crossover with--dataset/ETHPy150Open jgilhutton/pyxiewps_WPShack-Python/pyxiewps-EN.py/Config.get_uid