def bind(self, port, app=None, fork=None):  #App and fork are just here to be generic with the tcp bind from the pysocket point of view
        """
        Bind like connect will register a handler in the UDP layer.
        But it will also prevent the host to send ICMP host port unreachable
        """
        self.localPort = port
        block_icmp_port_unreachable()  #block_outgoing_packets("udp", self.localIP, self.localPort, None, None)
        self.connectionID = (self.localIP, self.localPort)
        self.lowerLayers['default'].register_upper_layer(self.connectionID, self)